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. Can we access GSM phone data at the application level?


I am a newbie at developing on Android and i am busy looking through
resources and looking at accessible API's.

I am yet to come across any that let me access the GSM phone data,
other then the data in android.telephony.TelephonyManager and

I would also be interested in contributing to these API's if the data
is not accessible for applications, though i suspect this is outside
the scope of this group, but if you can point me in the direction of a
group that will be able to help i would appreciate it.

The data i'm after is, ARFCN, cell selection parameters ( C1 and C2 ),
periodic update time etc etc...

I have herd that there is a field test application that displays this
data, which would suggest the data is accessible, as that app does not
appear to be part of the open source code project.

Any info gratefully received,


2. How to set category of manifest file in program?

I want my program only run on the first boot. So I need to close  the
<category android:name="android.intent.category.HOME" /> setting
function of manifest file after using.

Can I handle this problem in program?


3. Query regarding javafx on android!

4. "Apple iPhone Developers Mostl y Don鈥檛 Make Much Money"

5. Posting error on android-beginners mailing list

6. How to unable HOME KEY when executing?

7. Problem running the Hello World example