Telar GPS
The Telar GPS extension for the microb browser is a sample context data provider for Telar DCCI. Using Telar GPS you can create location-aware web pages. Telar GPS is built on top of the maemo Location API and forwards the current GPS position to DCCI.
To demonstrate Telar GPS, install Telar DCCI and Telar GPS on your Internet Tablet and look at this page again (could not access DCCI root property). See the Telar GPS map demo for a more colorful example using Google maps. Feel free to look at and copy the code.
Please note the the current implementation does not follow any kind of standardized ontology (as there is no such thing for now). So be prepared to changes in the way Telar GPS represents location in the DCCI tree.
Installing
Simply pick the Telar GPS Debian package from the Telar DCCI Garage Project Page and open it in the maemo Application Manager.
Source Code
The source code is available in the Telar DCCI subversion repository. You can browse the repository online or check out the source using
$ svn co https://garage.maemo.org/svn/telardcci/contextDataProviders/telargps/trunk
Building
In order to build Telar GPS from scratch, you need to have the dcci-dev package installed in your scratchbox. You can get it from the Telar DCCI Garage Project Page. In addition, you need the microb-engine-dev package. Then build Telar GPS using
$ dpkg-buildpackage -rfakeroot
Porting
Porting Telar GPS to other platforms than maemo is a challenge, as the maemo Location API is unlikely to be available anywhere else. Parts interacting with DCCI can be reused but the data provisioning part needs to be replaced.