Built-in interface methods for jump systems commonly used in Android Development

Source: Internet
Author: User

Providers include global system-level setup device preferences

Intent: intent Intent = new Inetnt (Setings );
Setings:

1. ACTION_ACCESSIBILITY_SETTINGS: // The auxiliary function interface for redirecting to the System

Intent intent = new Intent (Settings. ACTION_ACCESSIBILITY_SETTINGS );
StartActivity (intent );

2. ACTION_ADD_ACCOUNT: // display the screen for creating a new account by adding an account. [Test jump to the logon Page]

Intent intent = new Intent (Settings. ACTION_ADD_ACCOUNT );
StartActivity (intent );

3. ACTION_AIRPLANE_MODE_SETTINGS: // flight mode, wireless network and network settings page

Intent intent = new Intent (Settings. ACTION_AIRPLANE_MODE_SETTINGS );
StartActivity (intent );

Or:

ACTION_WIRELESS_SETTINGS:

Intent intent = new Intent (Settings. ACTION_WIFI_SETTINGS );
StartActivity (intent );

4. ACTION_APN_SETTINGS: // jump to the APN settings page

Intent intent = new Intent (Settings. ACTION_APN_SETTINGS );
StartActivity (intent );

5. [required parameter] ACTION_APPLICATION_DETAILS_SETTINGS: // jump to the application information page of the system based on the package name

Uri packageURI = Uri. parse ("package:" + "com. tencent. WBlog ");
Intent intent = new Intent (Settings. ACTION_APPLICATION_DETAILS_SETTINGS, packageURI );
StartActivity (intent );

6. ACTION_APPLICATION_DEVELOPMENT_SETTINGS: // jump to the developer option page

Intent intent = new Intent (Settings. ACTION_APPLICATION_DEVELOPMENT_SETTINGS );
StartActivity (intent );

7. ACTION_APPLICATION_SETTINGS: // jump to the Application List page

Intent intent = new Intent (Settings. ACTION_APPLICATION_SETTINGS );
StartActivity (intent );

Or:

ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS // jump to the application interface [all]

Intent intent = new Intent (Settings. ACTION_MANAGE_ALL_APPLICATIONS_SETTINGS );
StartActivity (intent );

Or:

ACTION_MANAGE_APPLICATIONS_SETTINGS: // jump to the Application List interface [installed]

Intent intent = new Intent (Settings. ACTION_MANAGE_APPLICATIONS_SETTINGS );
StartActivity (intent );

8. action_effecth_settings: // jump to the Bluetooth settings page of the system



Intent intent = new Intent (Settings. action_effecth_settings );
StartActivity (intent );

9. ACTION_DATA_ROAMING_SETTINGS: // jump to the mobile network settings page

Intent intent = new Intent (Settings. ACTION_DATA_ROAMING_SETTINGS );
StartActivity (intent );

10. ACTION_DATE_SETTINGS: // jump Date and Time Setting Interface

Intent intent = new Intent (Settings. ACTION_DATA_ROAMING_SETTINGS );
StartActivity (intent );

11. ACTION_DEVICE_INFO_SETTINGS: // jump to the mobile phone status page

Intent intent = new Intent (Settings. ACTION_DEVICE_INFO_SETTINGS );
StartActivity (intent );

12. ACTION_DISPLAY_SETTINGS: // jump to the mobile phone display page

Intent intent = new Intent (Settings. ACTION_DISPLAY_SETTINGS );
StartActivity (intent );

13. ACTION_DREAM_SETTINGS [API 18 or above not tested]

Intent intent = new Intent (Settings. ACTION_DREAM_SETTINGS );
StartActivity (intent );

14. ACTION_INPUT_METHOD_SETTINGS: // jump language and Input Device



Intent intent = new Intent (Settings. ACTION_INPUT_METHOD_SETTINGS );
StartActivity (intent );

15. ACTION_INPUT_METHOD_SUBTYPE_SETTINGS [API 11 and later] // jump language selection interface [multi-language selection]

Intent intent = new Intent (Settings. ACTION_INPUT_METHOD_SUBTYPE_SETTINGS );
StartActivity (intent );

16. ACTION_INTERNAL_STORAGE_SETTINGS // jump to the storage settings page [internal storage]

Intent intent = new Intent (Settings. ACTION_INTERNAL_STORAGE_SETTINGS );
StartActivity (intent );

Or:

ACTION_MEMORY_CARD_SETTINGS: // redirect storage settings [Memory Card Storage]

Intent intent = new Intent (Settings. ACTION_MEMORY_CARD_SETTINGS );
StartActivity (intent );


17. ACTION_LOCALE_SETTINGS: // jump language selection interface [only English and Chinese are available]

Intent intent = new Intent (Settings. ACTION_LOCALE_SETTINGS );
StartActivity (intent );


18. ACTION_LOCATION_SOURCE_SETTINGS: // go to the location service page to manage installed applications .]

Intent intent = new Intent (Settings. ACTION_LOCATION_SOURCE_SETTINGS );
StartActivity (intent );

19. ACTION_NETWORK_OPERATOR_SETTINGS: // select the network operator from the displayed settings.

Intent intent = new Intent (Settings. ACTION_NETWORK_OPERATOR_SETTINGS );
StartActivity (intent );

20. ACTION_NFCSHARING_SETTINGS: // display NFC sharing settings. [API 14 and above]

Intent intent = new Intent (Settings. ACTION_NFCSHARING_SETTINGS );
StartActivity (intent );

21. ACTION_NFC_SETTINGS: // display NFC settings. This shows the user interface, allowing NFC to be enabled or disabled. [API 16 and above]

Intent intent = new Intent (Settings. ACTION_NFC_SETTINGS );
StartActivity (intent );

22. ACTION_PRIVACY_SETTINGS: // jump to the backup and Reset page

Intent intent = new Intent (Settings. ACTION_PRIVACY_SETTINGS );
StartActivity (intent );

23. ACTION_QUICK_LAUNCH_SETTINGS: // jump to the Quick Start setting page

Intent intent = new Intent (Settings. ACTION_QUICK_LAUNCH_SETTINGS );
StartActivity (intent );

24. ACTION_SEARCH_SETTINGS: // jump to the Search Settings page

Intent intent = new Intent (Settings. ACTION_SEARCH_SETTINGS );
StartActivity (intent );

25. ACTION_SECURITY_SETTINGS: // jump to the Security Settings page

Intent intent = new Intent (Settings. ACTION_SECURITY_SETTINGS );
StartActivity (intent );

26. ACTION_SETTINGS: // jump to the settings page

Intent intent = new Intent (Settings. ACTION_SETTINGS );
StartActivity (intent );

27. ACTION_SOUND_SETTINGS // jump to the sound setting page

Intent intent = new Intent (Settings. ACTION_SOUND_SETTINGS );
StartActivity (intent );

28. ACTION_SYNC_SETTINGS: // jump to the account synchronization page

Intent intent = new Intent (Settings. ACTION_SYNC_SETTINGS );
StartActivity (intent );

29. ACTION_USER_DICTIONARY_SETTINGS: // jump to the user dictionary Interface

Intent intent = new Intent (Settings. ACTION_USER_DICTIONARY_SETTINGS );
StartActivity (intent );

30. ACTION_WIFI_IP_SETTINGS: // jump to the IP address setting page

Intent intent = new Intent (Settings. ACTION_WIFI_IP_SETTINGS );
StartActivity (intent );

31. ACTION_WIFI_SETTINGS: // redirect to Wifi list settings

Intent intent = new Intent (Settings. ACTION_WIFI_SETTINGS );
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.