whats wrong with this code?
<p>I am trying to get the current GPS location of the mobile. I am using emulator I have given the position to the emulator using DDMS but I am getting nothing in the screen also I don't get any errors.</p>

<pre><code>public class getitright extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    LocationManager lm=(LocationManager)this.getSystemService(Context.LOCATION_SERVICE);
    LocationListener ll=new LocationListener(){
        public void onLocationChanged(Location l)
        {
            go(l);
        }

        @Override
        public void onProviderDisabled(String provider) {
            // TODO Auto-generated method stub

        }

        @Override
        public void onProviderEnabled(String provider) {
            // TODO Auto-generated method stub

        }

        @Override
        public void onStatusChanged(String provider, int status,
                Bundle extras) {
            // TODO Auto-generated method stub

        }

    };
    lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, ll);
}
    public void go(Location l){ 
    TextView tv=(TextView)findViewById(R.id.tv1);
    tv.setText(""+l.getLatitude());
    }


}
</code></pre>
