Gps location in android
<p>I have taken the current gps value using the following code.</p>

<pre><code>public class GetGPS implements LocationListener 
{

    public void onLocationChanged(Location location) 
    {



    }
    public void onProviderDisabled(String provider) 
    {
        //alertDialog.showMessage("Please Turn On your GPS", "GPS Turned Off");

    }
    public void onProviderEnabled(String provider) 
    {

    } 
    public void onStatusChanged(String provider, int status, Bundle extras) 
    {

    }   

}
</code></pre>

<p>it works.but the values are 100-200 feet off.i want to know what is the problem?</p>
