android应用程序跳转到系统的各个设置页面
在android SDK文档中有这样一个类,android.provider.Settings类提供android系统各个页面的跳转常量:
使用实例例:startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS)),即可跳到android手机 络设置页面。
如果要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);
String |
ACTION_ACCESSIBILITY_SETTINGS |
Activity Action: Show settings for accessibility modules. |
String |
ACTION_ADD_ACCOUNT |
Activity Action: Show add account screen for creating a new account. |
String |
ACTION_AIRPLANE_MODE_SETTINGS |
Activity Action: Show settings to allow entering/exiting airplane mode. |
String |
ACTION_APN_SETTINGS |
Activity Action: Show settings to allow configuration of APNs. |
String |
ACTION_APPLICATION_DETAILS_SETTINGS |
Activity Action: Show screen of details about a particular application. |
String |
ACTION_APPLICATION_DEVELOPMENT_SETTINGS |
Activity Action: Show settings to allow configuration of application development-related settings. |
String |
ACTION_APPLICATION_SETTINGS |
Activity Action: Show settings to allow configuration of application-related settings. |
String |
ACTION_BLUETOOTH_SETTINGS |
Activity Action: Show settings to allow configuration of Bluetooth. |
String |
ACTION_DATA_ROAMING_SETTINGS |
Activity Action: Show settings for selection of2G/3G. |
String |
ACTION_DATE_SETTINGS |
Activity Action: Show settings to allow configuration of date and time. |
String |
ACTION_DEVICE_INFO_SETTINGS |
Activity Action: Show general device information settings (serial number, software version, phone number, etc.). |
String |
ACTION_DISPLAY_SETTINGS |
Activity Action: Show settings to allow configuration of display. |
String |
ACTION_INPUT_METHOD_SETTINGS |
Activity Action: Show settings to configure input methods, in particular allowing the user to enable input methods. |
String |
ACTION_INPUT_METHOD_SUBTYPE_SETTINGS |
Activity Action: Show settings to enable/disable input method subtypes. |
String |
ACTION_INTERNAL_STORAGE_SETTINGS |
Activity Action: Show settings for internal storage. |
String |
ACTION_LOCALE_SETTINGS |
Activity Action: Show settings to allow configuration of locale. |
String |
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!
软件开发人员猛如虎
上一篇
2012年6月1日
WP7软件安装 学会如何在WP7上安装软件
下一篇
2012年6月1日
|