Merge "docs: Another fix for external 42607" into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
335da367a1
@@ -204,7 +204,7 @@ android.location.LocationManager#requestLocationUpdates requestLocationUpdates()
|
|||||||
<pre>
|
<pre>
|
||||||
String locationProvider = LocationManager.NETWORK_PROVIDER;
|
String locationProvider = LocationManager.NETWORK_PROVIDER;
|
||||||
// Or, use GPS location data:
|
// Or, use GPS location data:
|
||||||
// LocationProvider locationProvider = LocationManager.GPS_PROVIDER;
|
// String locationProvider = LocationManager.GPS_PROVIDER;
|
||||||
|
|
||||||
locationManager.requestLocationUpdates(locationProvider, 0, 0, locationListener);
|
locationManager.requestLocationUpdates(locationProvider, 0, 0, locationListener);
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user