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. Application invisible in Market from Nexus One. Please test.

Thank you very much for response.

BTW if you've read the documentation the "normal" HVGA resolution mentioned
there. It's not a my concept.

1. The question is if Market engine can detect supported resolution and
decline it per device.
2. Why app is avaialble from Tatoo devices running "small" screen? App has a
problem but visible from Market.

Thanks in advance,


2. decoder->decode returned false

In my application during downloading of images, for some of the images
i got the error like

D/skia    (  374): --- decoder->decode returned false

Can anyone solve this problem ??

Thanks in advance


3. How to connect to mysql db directly without any middleWare servers ?

4. Communication between android Emulator and Real Device !!!

5. How good is the Android Dev Phone 2?

6. Vibrator.vibrate() makes the application crash

7. Recommended way to wake a sleeping Wi-Fi connection?