Use Samsung S3 and Android Google Map V2(Using "LocationClient" to get location). It functions totally normal except
Indoor, the first time location updated (not the getLastLocation() from LocationManager) is VERY VERY VERY SLOW even no updated. (GPS turn on, wifi off)
Indoor, turn on WIFI (even did not connect to any hot spot) the first time location updated speed is fine.
I follow the tutorial below and the first time location update (not the getLastLocation() from LocationManager) speed is fine if outdoor.
(Google Tutorial) https://developers.google.com/maps/documentation/android/location and http://developer.android.com/training/location/receive-location-updates.html
And according google here, https://developers.google.com/maps/documentation/android/start, it said
android.permission.ACCESS_COARSE_LOCATION Allows the API to use WiFi or mobile cell data (or both) to determine the device's location.
android.permission.ACCESS_FINE_LOCATION Allows the API to use the Global Positioning System (GPS) to determine the device's location to within a very small area.
Thus, I think it should get location updated from both NETWORK and GPS.
========================
But what I got is
It(LocationClient) seems to only listen to GPS signal if only turn on GPS. And if you want location update from NETWORK, you have also to turn WIFI on.
Is this correct ?
THANKS...
========================
UPDATE
According to Google Maps Android API v2 creating a new LocationSource.
Now, I do not use "LocationClient" and set another "LocationSource" to Google Map. Now Google map can receive location updated very quickly even indoor and NO WIFI turn on.