title: Why I am Getting different Gps coordinates in same location from NETWORK_PROVIDER?
body: <p>i am getting different Gps coordinates in same location why its happening. But i need to change gps coordinates only moves after 10 meters . How can i do that.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>  private static final long MINIMUM_TIME_BETWEEN_UPDATES = 1000; 
              private  static final float MIN_GEOGRAPHIC_POOLING_DISTANCE = (float)10.0;
  
  
   double myLat_Values;
          double myLog_Vaues;
  
  
  locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
   locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, MINIMUM_TIME_BETWEEN_UPDATES, MIN_GEOGRAPHIC_POOLING_DISTANCE, new MyLocationListener());
  
  
  private class MyLocationListener implements LocationListener {
  
          @Override
          public void onLocationChanged(Location location) {
              longitude_str = String.valueOf(location.getLongitude());
              latitude_str = String.valueOf(location.getLatitude());
  
               Double longitude_number = Double.valueOf(longitude_str);
                   DecimalFormat dec = new DecimalFormat("#.000000");
                  longitude_message = dec.format(longitude_number);
  
               Double latitude_number = Double.valueOf(latitude_str);
               DecimalFormat decim = new DecimalFormat("#.000000");
                  latitude_message = decim.format(latitude_number);
  
                  try
                  {
                      myLat_Values = Double.valueOf(latitude_message);  
                      myLog_Vaues = Double.valueOf(longitude_message);
                  }
                  catch(NullPointerException ex)
                  {
                      myLat_Values = 0;
                      myLog_Vaues = 0;
                  }
  
       System.out.println("GPS Values Clockout:"+myLat_Values+"-"+myLog_Vaues);
  
          }       
  
      public void onProviderDisabled(String s) {}
          @Override
          public void onProviderEnabled(String provider) {}
          @Override
          public void onStatusChanged(String provider, int status, Bundle extras) {}      
      }
  </code></pre>
  
  <p>also i used these into manifestfile :</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /&gt; 
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  </code></pre>
  
  <p>I used this <a href="http://www.javacodegeeks.com/2010/09/android-location-based-services.html" rel="nofollow">link</a> </p>
  
  <p>please anybody give a suggestion how to solve my problem.</p>
  
  <p>Thank you in advanced.</p>