How to start “settings” application?
Question
When the user running my application, I want my application forward the user to the settings -> location & security -> Use wireless networks. How am I going to achieve that?
Solution
Start Wireless Settings as:
Intent intent=new Intent(Settings.ACTION_WIRELESS_SETTINGS);
ComponentName cName = new ComponentName("com.android.settings","com.android.settings.WirelessSettings");
intent.setComponent(cName);
startActivity(intent);
OTHER TIPS
Try this,
startActivity(new Intent(Settings.ACTION_WIRELESS_SETTINGS));
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow