title: GPS and NETWORK_PROVIDER not working on real device
body: <p>I have tried to get current location using NETWORK_PROVIDER and register </p>
  
  <pre><code>LocationListener:
  locManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 10000, 0, locListener);
  </code></pre>
  
  <p>I have added following permissions in AndroidManifest.xml:</p>
  
  <pre><code>android.permission.ACCESS_LOCATION
  android.permission.ACCESS_FINE_LOCATION
  android.permission.ACCESS_COARSE_LOCATION
  android.permission.INTERNET
  </code></pre>
  
  <p>But <code>onLocationChanged(Location location)</code> never called.</p>
  
  <p>And if I tried to get location with:</p>
  
  <pre><code>locManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
  </code></pre>
  
  <p>then it always return null location.</p>
  
  <p>I don't know where I am wrong.
  Any help should appreciate me.</p>