public
Description: A qtopia version of xgps
Homepage: http://blog.wolfman.com
Clone URL: git://github.com/wolfmanjm/qtopiagps.git
name age message
file .gitignore Tue Sep 15 02:57:24 -0700 2009 updated [wolfmanjm]
file README Tue Sep 15 14:30:28 -0700 2009 updated [wolfmanjm]
file gps.h Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
directory images/ Wed Aug 27 23:07:06 -0700 2008 add screenshots [wolfmanjm]
file index.html Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file libgps-dev.tar.gz Mon Sep 14 17:16:19 -0700 2009 Updated for qtmoko, or Qt Extended 4.4.3 [wolfmanjm]
file libgpsmm.h Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file main.cpp Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
directory pkg/ Tue Sep 15 02:56:32 -0700 2009 updated [wolfmanjm]
file qbuild.pro Tue Sep 15 02:56:32 -0700 2009 updated [wolfmanjm]
file qtgps Mon Sep 14 17:16:19 -0700 2009 Updated for qtmoko, or Qt Extended 4.4.3 [wolfmanjm]
file qtgps.cpp Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file qtgps.desktop Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file qtgps.h Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file qtgps.ui Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file qtgps_control Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
file skyView.cpp Wed Aug 27 22:49:38 -0700 2008 made font size smaller for sky view [wolfmanjm]
file skyView.h Wed Aug 27 16:00:12 -0700 2008 First import [wolfmanjm]
README
This is a port of xgps from the gpsd distribution to Qtopia for the Freerunner.
UPDATED to run on qtmoko AKA Qt Extended.

More info can be found at http://blog.wolfman.com/articles/2008/08/27/porting-xgps-to-qtopia-for-the-freerunner

To build you need the Trolltech toolchain.

> cd qtopiagps
> $QPEDIR/bin/qbuild

If you don't have libgps in the toolchain then detar the libgps-dev.tar.gz
into the toolchain
> cd /
> tar xvfz libgps-dev.tar.gz

it will go into /opt/toolchains/arm920t-eabi/arm-angstrom-linux-gnueabi/usr/lib/...

On QTMoko you need to edit /etc/default/gpsd to the following...

# Default settings for gpsd.
# Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
# change the options.
START_DAEMON="true"
DAEMON_OPTS=""
DEVICES="/dev/ttySAC1"
USBAUTO="false"

then you can do this to start gpsd...

> /etc/init.d/gpsd start

Then you can run qtopiagps

TODO
====

1. I plan on removing the dependency on gpsd, and use the builtin Location API of Qt.
   Turns out the Whereabouts API in Qt does not support getting satellite info, so won't do this
2. I want to add simple tracking, and pedometer type functions.
   This will be done in a new app instead, using the Whereabouts API