title: Unable to get the location updates in monodroid
body: <p>I am trying to get the location in my Android app as follows</p>
  
  <pre><code>LocationManager lmanager = (LocationManager)context.GetSystemService(Context.LocationService);
  if (lmanager.IsProviderEnabled(LocationManager.NetworkProvider))
   {
    Location currentLoc = lmanager.GetLastKnownLocation(LocationManager.NetworkProvider);
  }
  </code></pre>
  
  <p>I tried with <code>LocationManager.gpsProvider</code> also instead of the Network provider.</p>
  
  <p>In all the cases I am getting a null reference exception for <code>currentLoc</code>.</p>