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. Justify a TextView?

Hi all,

I can see this question has been asked a couple of times before, but
with no answer. How do I set the text in a TextView to be justified?

That is, I would like it to look like the left-hand example here:


2. OpenGL 2.0 in Surface Flinger for Donut Version


Could some one give me pointers whether the Surface Flinger has
already been
migrated on top of OpenGL 2.0 from OpenGL 1.1 ?

Is it available in Donut ?

The input on this would be very critical and helpful for us.

Thanks in advance.



3. audio codec

4. Slow animation using SurfaceView

5. Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

6. center picture in layout?

7. setText for EditText is not working in 1.5