Change Geo Location On Phone for Debugging

by Prasanna Perera » Sat, 24 Apr 2010 20:17:03 GMT

Sponsored Links

I want to change the geo location on my Droid phone for debugging
purposes.  How can I do this?



Change Geo Location On Phone for Debugging

by Mark Murphy » Sat, 24 Apr 2010 20:27:05 GMT


Move about 30 meters to your left.


No, no, your other left.


I'll be surprised if you can override values for GPS on actual hardware,
the way you set them in the emulator. AFAIK, that's emulator-only.

I noticed that some mock location provider support got reintroduced in
recent SDKs, so it's conceivable you could use that in concert with
hardware, but I haven't played with it since the Android M5 release
about two years ago.

As for me, I'd just go for a walk. Logging still occurs while you're
disconnected. After all, it's a nice day out.

Mark Murphy (a Commons Guy)  | 

Android Training...At Your Office: 


Sponsored Links

Change Geo Location On Phone for Debugging

by Kumar Bibek » Sun, 25 Apr 2010 03:35:11 GMT

 Ahh, the emulator is a better device as far as testing GPS apps is
concerned. 30 metres left/right might not suffice all apps. :) Take
out your car !!!

Thanks and Regards,
Kumar Bibek


Change Geo Location On Phone for Debugging

by JP » Sun, 25 Apr 2010 04:20:18 GMT

 The emulator/DDBMS is one setup to test different location. This is
not sufficient for every case. For AR type stuff for instance, you
need to test on a device. In such cases, you can place code in your
onLocationChanged() method that will modify the location received from
the location provide to the desired location. Now, every time you
change your location where you actually test, you use the location
that you're trying to test.


Other Threads

1. EglSwapBuffers

I noticed in the profiler that eglSwapBuffers is taking up about 5% of
my time each frame in some opengl code I'm writing. It seems like
quite a heavy for something that should just be a blit, is there
anything in my egl setup I can do to optimize this more?


2. auto generation of file

Hi Everyone,

I am trying to port a package (library) in android.  There are many
subfolder in my library folder and each subfolder contains a makefile.
I know that we have to write file for building the package.
Do we need to write the file for each subfolder present in
my library. Is there any way to generate file from standard



3. Is the EGL_CONTEXT_LOST error is occur on the Nexus One or other real devices ?

4. notification icon on left most corner

5. Droid X available to buy now -- Engadget

6. Pendaftaran Pre-Order SGS di Telkomsel

7. data passed to handler overwritten?