title: GPS coordinates (using location manager) get printed as null
body: <p>OnCreateMethod,</p>
  
  <pre><code>LocationManager manager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
  
  
  LocationListener listener = new LocationListener() {
  
          @Override
          public void onStatusChanged(String provider, int status, Bundle extras) {
              // TODO Auto-generated method stub
  
          }
  
          @Override
          public void onProviderEnabled(String provider) {
              // TODO Auto-generated method stub
  
          }
  
          @Override
          public void onProviderDisabled(String provider) {
              // TODO Auto-generated method stub
  
          }
  
          @Override
          public void onLocationChanged(Location location) {
              // TODO Auto-generated method stub
              coordinates = new GeoPoint((int)location.getLatitude(), (int)location.getLongitude()).toString();
  
          }
      };
      manager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, listener);
  
  }
  </code></pre>
  
  <p>and when i try to show coordinates (setText) in a TextView, it says "null"</p>
  
  <p>Android Manifest,</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
  </code></pre>
  
  <p>Even though my TextView displays "null", i get a notification on my status bar which says "Searching for GPS" </p>