Android Question GPS and emulator with TELNET or DDMS or Android Debug Monitor

AlpVir

Well-Known Member
Licensed User
Longtime User
I simply can not send to emulator the geographical coordinates of a specific point (latitudine and longitude) .
I tried in the following four methods (both XP and W7)

1) TELNET
a) telnet
b) open localhost 5554
c) geo fix 7.1234 44.34567

2) DDMS
a) emulator control
b) location control
c) button “send”

3) Android Debug Monitor
a) emulator control
b) location control
c) button “send”

4) Android GPS simulator .jar
(link http://androidgpssimulator.googlecode.com/files/AndroidGPSSimulator_v0.2.zip )

In my testing I have always used the very basic and simple project of Erel
(link http://www.b4x.com/android/forum/threads/gps-tutorial.6592/#content )
The connection is OK. The telnet console alerts you and the logcat of DDMS (and Android Debug Monitor) as well).
Then the emulator will shut down and restart !!! Again !!!!
Would someone be so kind as to lose 5 minutes of time, and at least tell me if, in its configuration, at least ONE of the 4 methods listed above work ? ONE !!!
Thanks in advance.
 

AlpVir

Well-Known Member
Licensed User
Longtime User
I usually try to avoid working with the emulator ...

For a variety of reasons (poor quality of the GPS signal; need to send to my app a GPS track and see how the app behaves the passage of time) I have to use the emulator.

I think I have tried every possible way, without any positive results.
Any help would be so appreciated.
 
Upvote 0

AlpVir

Well-Known Member
Licensed User
Longtime User
Thanks Erel.
The library also works in the emulator. A fairly practical !
I even managed to create an app that reads a file from a GPS track and through the mock service, sends it to the app I'm developing.
All in the emulator and in an infinite loop.

There remains the mystery of why I not be able to run DDMS or Android Debug Monitor.
 
Upvote 0
Top