views:

227

answers:

1

Hi,

I've got a question about android and GPS coordinates.

I've got a script done in python, which opens a socket and sends a bunch of coordinates to an emulator. On the emulator I have an application running where I've registered an OnLocationListener. The idea is to capture the coordinates and animate the map towards those positions.

The problem is that android gets the first position, animates the map towards it and then ignores the rest. This has become a pain in the neck and is killing me and my developer team. We would appreciate your help.

Thanks in advance.

A: 

Well, eventually We've got this working and as usually the tutorials did not helped and were wrong.

What we were trying to do is to open up a telnet connection with python and send the "geo fix" command through it. We were parsing a kml file and from time to time send a coordinate to the emulator.

The same file was working with DDMS, so we've made a tcpdump and finally understood why our implementation wasn't working with geo fix..... DDMS sends coordinates in nmea. After we've converted each coordinate to nmea the problem was solved.

Anyway, we still think android is overrated and has a poor design. It is almost impossible to design anything with this crap!