android應用程式跳轉到系統的各個設定頁面

來源:互聯網
上載者:User

在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);

如果要進入Networks Operators頁面按如下方法:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setClassName(“com.android.phone”, “com.android.phone.NetworkSetting”);
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
顯示設定,以允許配置的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
特別配置的輸入方法,允許使用者啟用IME的顯示設定
Activity Action: Show settings to configure input methods, in particular allowing the user to enable input methods.
String ACTION_INPUT_METHOD_SUBTYPE_SETTINGS
顯示設定來啟用/禁用IME亞型
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
 
 
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.