title: Check WiFi and GPS isConnected or Not in Android?
body: <p>I would need to check the wifi is on or off in the phone at the runtime?</p>
  
  <p>if it is not connected, i want to show dialog and goto directly Setting/Wireless Controls to enable it by user.</p>
  
  <p>its for both wifi and <strong>Gps staus</strong> of the phone. How to do it? which intent to wake for this? Any idea?</p>