Getting a result from a change in connection settings (wifi or 3G on) and closing the system settings
<p>My activity opens the systems prefs when no internet connection is connected.
What is the best way to close the system prefs and go back to the activity as soon as the user activates wifi or 3g.</p>

<p>Is there a way to get a result using startActivityForRsults()? 
Should I wake up the activity using a listener that detects when a connection is on?</p>

<p>Thank you or your thoughts</p>
