让android应用程序跳转到系统的各个设置页面
在android SDK文档中有这样一个类,android.provider.Settings类提供android系统各个页面的跳转常量:
|
|
|
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 of2G/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. |
||
EXTRA_INPUT_METHOD_ID |
|
如果要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);