How to make launch other applications. When the user clicks on, say, the button and the application opens, such as "settings"?

  • 3
    You should read about the mechanism of intentions (Intents) in Android. You can not only the "Settings" open;) - AseN
  • on HabrĂ© there is a good little article habrahabr.ru/post/131041 - dubok79

2 answers 2

To start the activity and get the result from it (0 - response ID):

startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0); 

For normal start of the necessary activity:

 startActivity(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS)); 

    Offline Settings Window:

     startActivity(new Intent(android.provider.Settings.ACTION_AIRPLANE_MODE_SETTINGS));