I have realized now I can implement a mock location provider, and have done that by creating a kml file from google earth, creating a directory parallel to gps, and placed 2 files in it: location and properties. I have also tried location.kml, but both return null from getCurrentLocation and getLastKnownLocation when I use my provider.
I see this in logCat: D/dalvikvm( 516): Exception Ljava/lang/NullPointerException; from LocationManagerService.java:226 not caught locally E/JavaBinder( 516): *** Uncaught remote exception! (Exceptions are not yet supported across processes.) E/JavaBinder( 516): java.lang.NullPointerException E/JavaBinder( 516): at android.server.LocationManagerService.readLastKnownLocation(LocationManagerService.java: 226) E/JavaBinder( 516): at android.server.LocationManagerService.getLastKnownLocation(LocationManagerService.java: 706) E/JavaBinder( 516): at android.location.ILocationManager $Stub.onTransact(ILocationManager.java:163) E/JavaBinder( 516): at android.os.Binder.execTransact(Binder.java: 274) E/JavaBinder( 516): at android.dalvik.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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

