I am trying to enable GPS function in my device with the google Maps.

The "My Location" is working fine when "GPS stellites" is enabled. But
Maps will alert me to turn on location source everytime when I enable
"Use wireless network" and disable "Enable GPS stellites".

The log shows as following messages:

01-06 18:32:34.296: ERROR/LocationManagerService(892):
isProviderEnabled got exception:
01-06 18:32:34.296: ERROR/LocationManagerService(892):
java.lang.IllegalArgumentException: provider=network
01-06 18:32:34.296: ERROR/LocationManagerService(892):     at
com.android.server.LocationManagerService._isProviderEnabledLocked
(LocationManagerService.java:1514)
01-06 18:32:34.296: ERROR/LocationManagerService(892):     at
com.android.server.LocationManagerService.isProviderEnabled
(LocationManagerService.java:1499)
01-06 18:32:34.296: ERROR/LocationManagerService(892):     at
android.location.ILocationManager$Stub.onTransact
(ILocationManager.java:245)
01-06 18:32:34.296: ERROR/LocationManagerService(892):     at
android.os.Binder.execTransact(Binder.java:287)
01-06 18:32:34.296: ERROR/LocationManagerService(892):     at
dalvik.system.NativeStart.run(Native Method)
01-06 18:32:34.296: WARN/Maps.MyLocationOverlay(1201): None of the
desired Location Providers are available


Does anyone got same problem ?

Regards,
Elay

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to