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);
Settings.ACTION_DATA_ROAMING_SETTINGS

如果要進入Networks Operators頁面按如下方法:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setClassName(“com.android.phone”, “com.android.phone.NetworkSetting”);
startActivity(intent);
com.android.phone.NetworkSetting

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
顯示設置,以允許配置的APN。
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
選擇of2G/3G顯示設置
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 ACTION_LOCATION_SOURCE_SETTINGS
顯示設置,以允許當前位置源的配置
Activity Action: Show settings to allow configuration of current location sources.
String ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS
顯示設置來管理所有的應用程序
Activity Action: Show settings to manage all applications.
String ACTION_MANAGE_APPLICATIONS_SETTINGS
顯示設置來管理安裝的應用程序
Activity Action: Show settings to manage installed applications.
String ACTION_MEMORY_CARD_SETTINGS
顯示設置為存儲卡存儲
Activity Action: Show settings for memory card storage.
String ACTION_NETWORK_OPERATOR_SETTINGS
選擇網絡運營商的顯示設置
Activity Action: Show settings for selecting the network operator.
String ACTION_PRIVACY_SETTINGS
顯示設置,以允許配置隱私選項
Activity Action: Show settings to allow configuration of privacy options.
String ACTION_QUICK_LAUNCH_SETTINGS
顯示設置,以允許快速啟動快捷鍵的配置
Activity Action: Show settings to allow configuration of quick launch shortcuts.
String ACTION_SEARCH_SETTINGS
全局搜索顯示設置
Activity Action: Show settings for global search.
String ACTION_SECURITY_SETTINGS
顯示設置,以允許配置的安全性和位置隱私
Activity Action: Show settings to allow configuration of security and location privacy.
String ACTION_SETTINGS
顯示系統設置
Activity Action: Show system settings.
String ACTION_SOUND_SETTINGS
顯示設置,以允許配置聲音和音量
Activity Action: Show settings to allow configuration of sound and volume.
String ACTION_SYNC_SETTINGS
顯示設置,以允許配置同步設置
Activity Action: Show settings to allow configuration of sync settings.
String ACTION_USER_DICTIONARY_SETTINGS
顯示設置來管理用戶輸入字典
Activity Action: Show settings to manage the user input dictionary.
String ACTION_WIFI_IP_SETTINGS
顯示設置,以允許配置一個靜態IP地址的Wi – Fi
Activity Action: Show settings to allow configuration of a static IP address for Wi-Fi.
String ACTION_WIFI_SETTINGS
顯示設置,以允許Wi – Fi配置
Activity Action: Show settings to allow configuration of Wi-Fi.
String ACTION_WIRELESS_SETTINGS
顯示設置,以允許配置,如Wi – Fi,藍牙和移動網絡的無線控制
Activity Action: Show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks.
String AUTHORITY  
String EXTRA_AUTHORITIES
在推出活動的基礎上給予的權力限制可選項。
Activity Extra: Limit available options in launched activity based on the given authority.
String EXTRA_INPUT_METHOD_ID
 
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM