I have always used the gps.py module that is included with linux on my
desktop distros (debian, ubuntu etc). It can usually be found here:
/var/lib/python-support/python2.5/gps.py
I am dunning Debian on my Freerunner, I copied gps.py from my desktop to the
same location on the phone and it works just fine! Usage goes like this:
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gps
>>> g = gps.gps()
>>> g.query("admosy")
>>> g.fix.latitude
34.432875
More examples using gps.py here:
http://www.perrygeo.net/wordpress/?p=13
On Tue, Jan 13, 2009 at 5:23 AM, Nicolas Laurance <[email protected]>wrote:
> you might want to read the thread
>
> http://lists.openmoko.org/nabble.html#nabble-td786643
>
>
> _______________________________________________
> Openmoko community mailing list
> [email protected]
> http://lists.openmoko.org/mailman/listinfo/community
>
_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community