title: Check Location Provider Status
body: <p>I'm making a test project to learn how to use the Location in Android.</p>
  
  <p>I want to use WIFI/3G as default provider, but if there are not working (Airplane mode set ON for example), I want to switch to GPS.</p>
  
  <p>My idea is check the NETWORK_PROVIDER status. If it not available, check the GPS_PROVIDER status. If this also not available, not use location and show a message.</p>
  
  <p>To do that, I need to check the current Provider Status, but I can't find the way.
  There is any way to do that?</p>
  
  <p>I had try with isProviderEnabled, but that method only tell me if the Provider can or can't be used, but not if really enabled.</p>
  
  <p>The ideal idea is to do that before call requestLocationUpdates</p>
  
  <p>Thanks and sorry for my english</p>