Allows Android applications to jump to various settings pages of the system.

Source: Internet
Author: User

In the android SDK documentation, the android. provider. settings class provides jump constants for various pages of the Android system:

 

 

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 special 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_effecth_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 particle 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

Activity action: Show settings to allow configuration of a static IP address for Wi-Fi.

String

Action_wifi_settings

Activity action: Show settings to allow configuration of Wi-Fi.

String

Action_wireless_settings

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

How to use it?

Example: startactivity (new intent (settings. action_wireless_settings ));
You can jump to the network settings page of the Android phone.

 

If you want to launch the mobile networks setting page, follow these steps:

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

 

To enter the networks operators page, follow these steps:

Intent intent = new intent (intent. action_main );
Intent. setclassname ("com. Android. Phone", "com. Android. Phone. networksetting ");
Startactivity (intent );

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.