title: Android: check if GPS is searching, has fix or is not in use
body: <p>I want to know if there is a way in Android (GingerBread) to know if at the moment the GPS is doing something or not. Let me be a bit more clear: I basically want to call some method or api that will tell me wheter the GPS is:</p>
  
  <p>1)Fixed (GPS icon in statusbar on)<br>
  2)Searching for fix (GPS icon on statusbar blinking)<br>
  3)Inactive (No app is using location services at the moment, no icon on statusbar)  </p>
  
  <p>Now: I know that you can use a LocationListener to be notified of such changes BUT this is not good for me because I don't want my code to remain running waiting waiting for events, my code runs periodically at scheduled times, does something and then terminates, so I need a way to check the status of the GPS service in that precise moment, rather than wait for notifications of when it changes.</p>