sending mock location data to emulator?

by Tommy » Tue, 27 Oct 2009 08:53:26 GMT

Sponsored Links
 I follow guidelines here to provide mock data for emulator (http://
This line suggest that I must connect to emulator first:

"Launch your application in the Android emulator and open a terminal/
console in your SDK's /tools directory. Connect to the emulator
console. Now you can use:..."

Since I'm on Windows, I did it by using putty and telnet to localhost,
port 5554 (of the emulator). However I could never succeed.

Did I understand the instruction properly? (connect by telnet before
using "geo fix" to send mock data)
If yes, why couldn't I connect to the emu?



sending mock location data to emulator?

by Tim Hutt » Tue, 03 Nov 2009 06:27:25 GMT

 2009/10/30 Le Mai Tung <>:

No I've only tried 'geo fix' - it seemed the easiest for what I and
you are doing. Not sure what the problem is if you start the emulator
and it isn't listening. What do you see if you run 'netstat -an' in a
command prompt?


Sponsored Links

Other Threads

1. Layered input methods?

I'd like to create an input method that only alters the behavior of
the *hardware* keyboard, and leaves any software keyboards alone. I've
looked over the docs and there doesn't seem to be an obvious way to do
this; *is* there a way to "layer" input methods like that? Thanks for
any suggestions y'all can provide...


2. Regarding CTS test apk Signing procedure


I am trying to develop new cts testcases. After I ran those testcases
by adding them in CTS,
I got the below error.

Permission Denial: starting  instrumentation
from pid=6365, uid=6365 not allowed because package  does not have a signature matching the

I thought it is something related to signing the newly developed test

I have the below queries related to signing the cts test apks. I would
be grateful if any one can clear these doubts.

1.      What kind of signing should be followed to sign  cts test apks if
they have to be build in ubuntu linux.
2.      Do we need to get signed our certificate from any Certification
3.      Since CTS test apks test other applications, do they need to be
signed with same certificate [used to sign android applications
present in the phone]. If yes , then is it required to specify that
private key in Android manifest file




4. Help Required in Android Porting in DM6467

5. Releasing Apps with Android OS Revisions

6. Emulator Internet Connectivity Problem

7. Buttons looking weird when they are too small