https://github.com/zytc2009/BigTeam_learning
分类: 嵌入式
2012-06-24 20:14:56
Constants | ||
Activity Action: Show settings for accessibility modules. | ||
Activity Action: Show add account screen for creating a new account. | ||
Activity Action: Show settings to allow entering/exiting airplane mode. | ||
Activity Action: Show settings to allow configuration of APNs. | ||
Activity Action: Show screen of details about a particular application. | ||
Activity Action: Show settings to allow configuration of application development-related settings. | ||
Activity Action: Show settings to allow configuration of application-related settings. | ||
Activity Action: Show settings to allow configuration of Bluetooth. | ||
Activity Action: Show settings for selection of 2G/3G. | ||
Activity Action: Show settings to allow configuration of date and time. | ||
Activity Action: Show general device information settings (serial number, software version, phone number, etc.). | ||
Activity Action: Show settings to allow configuration of display. | ||
Activity Action: Show settings to configure input methods, in particular allowing the user to enable input methods. | ||
Activity Action: Show settings to enable/disable input method subtypes. | ||
Activity Action: Show settings for internal storage. | ||
Activity Action: Show settings to allow configuration of locale. | ||
Activity Action: Show settings to allow configuration of current location sources. | ||
Activity Action: Show settings to manage all applications. | ||
Activity Action: Show settings to manage installed applications. | ||
Activity Action: Show settings for memory card storage. | ||
Activity Action: Show settings for selecting the network operator. | ||
Activity Action: Show settings to allow configuration of privacy options. | ||
Activity Action: Show settings to allow configuration of quick launch shortcuts. | ||
Activity Action: Show settings for global search. | ||
Activity Action: Show settings to allow configuration of security and location privacy. | ||
Activity Action: Show system settings. | ||
Activity Action: Show settings to allow configuration of sound and volume. | ||
Activity Action: Show settings to allow configuration of sync settings. | ||
Activity Action: Show settings to manage the user input dictionary. | ||
Activity Action: Show settings to allow configuration of a static IP address for Wi-Fi. | ||
Activity Action: Show settings to allow configuration of Wi-Fi. | ||
Activity Action: Show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks. | ||
Activity Extra: Limit available options in launched activity based on the given authority. | ||
跳转到系统设置网络的界面(这个可能是使用的最多的)
startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
在这个界面里用户就可以设置wifi和2g/3g网络了
如果要launch Mobile Networks Setting页面按如下方法:
Intent intent=new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS);
ComponentName cName = new ComponentName("com.android.phone","com.android.phone.Settings");
intent.setComponent(cName);
startActivity(intent);
如果要进入Networks Operators页面按如下方法:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setClassName("com.android.phone", "com.android.phone.NetworkSetting");
startActivity(intent);
如果想跳转到系统管理应用程序界面
Intent intent = new Intent();
intent.setAction("android.intent.action.MAIN");
intent.setClassName("com.android.settings", "com.android.settings.ManageApplications");
startActivity(intent);