Re: [android-developers] onActivityResult and the Settings Menu

2010-08-13 Thread Kostya Vasilyev
Not quite a direct answer to your question, but: An "ordinary" Android application can enable Wifi subsystem if not already enabled. This requires a special permission. Look up WifiManager.setWifiEnabled(). After enabling Wifi, you can watch broadcast actions defined in WifiManager or Conne

[android-developers] onActivityResult and the Settings Menu

2010-08-13 Thread KG
Hi Everyone, My app requires a network connection so if they don't have one enabled I prompt them to start it. I do this by calling the Wireless & Network settings Activity as such: startActivityForResult(new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS), NETWORK_RESULT); However,