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://
developer.android.com/guide/topics/location/index.html)
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?

Thanks.




--~--~---------~--~----~------------~-------~--~----~



sending mock location data to emulator?

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


 2009/10/30 Le Mai Tung <choconlangth...@gmail.com>:

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

Hi

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
ComponentInfo{com.android.cts.performance4/
android.test.InstrumentationTestRunner}
from pid=6365, uid=6365 not allowed because package
com.android.cts.performance4  does not have a signature matching the
target com.android.mms

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

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
authority
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

Thanks,
Pradeep

-- 

3. INSTALL_FAILED_UPDATE_INCOMPATIBLE.. plss help

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