title: get GPS soon as possible
body: <p>At the moment I'am working on project to messure frequency with gps :-). I like to get the gps information as soon as possible from GPS/Wifi. I also want to get it in the most highest frequency as possible. My goal is to messure a frequency from this data. At the moment I try it this way</p>
  
  <pre><code>final public void run() {
          Looper.prepare();
          while(gps){
  
              mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, mLocationListener);
              mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mLocationListener);
  
  
  
  
              try {
                  Thread.sleep(100) ;
              } catch (InterruptedException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
  
              mLocationManager.removeUpdates(mLocationListener);
  
          }
          Looper.loop();
      }//run
  </code></pre>
  
  <p>Is there a better way to get a faster "samplerate"?</p>