Hi, i tried to add an overlay to my mapview screen using the
MyLocationOverlay class, but it throws an exception and the overlay is
not displayed.

Any ideas?

---------------
        myLocationOverlay = new
MyLocationOverlay(AndroidResultsMap.this, mapView);
        mapView.getOverlays().add(myLocationOverlay);
---------------

E/LocationManagerService(   51): isProviderEnabled got exception:
E/LocationManagerService(   51): java.lang.IllegalArgumentException:
provider=network
E/LocationManagerService(   51):        at
com.android.server.LocationManagerService._isProviderEnabled(LocationManagerService.java:
1210)
E/LocationManagerService(   51):        at
com.android.server.LocationManagerService.isProviderEnabled(LocationManagerService.java:
1196)
E/LocationManagerService(   51):        at
android.location.ILocationManager
$Stub.onTransact(ILocationManager.java:211)
E/LocationManagerService(   51):        at
android.os.Binder.execTransact(Binder.java:276)
E/LocationManagerService(   51):        at
dalvik.system.NativeStart.run(Native Method)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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