.development

Welcome to the development section. You are invited to contribute to this project. There are two possibilities to take part:

  1. Create a cool server side application which receives the GPS data from trakkcor and processes it (e.g. drawing track via google maps).
  2. Enhance the trakkcor midlet and open the possibility for more fancy features.

.alternative 1: .send (whole) track

trakkcor submits the whole track via HTTP post. The submitted request parameters are:
  • trackID (integer)
  • position[] (array of strings)
Every position element is formatted as NMEA GGA string. You may consider the ch.javablog.mobile.trakkcor.model.GGAInfo class in order to find out how to parse this string. The following example shows a track with two positions.
trackID=5
position[]=$GPGGA,130305.0,4717.115,N,00833.912,E,1,08,0.94,00499,M,047,M,,*
position[]=$GPGGA,130305.0,4717.084,N,00833.030,E,1,08,0.94,00499,M,047,M,,*
					

.alternative 2: live tracking (0.2.0)

each time trakkcor fetches a position, it automaticly sends it to the server (via HTTP post) The submitted request parameters are:
  • deviceID (integer)
  • position (string)
Example:
deviceID=HEIKO
position=$GPGGA,130305.0,4717.115,N,00833.912,E,1,08,0.94,00499,M,047,M,,*
					

.enhance the trakkcor midlet

Obtain the source from sourceforge via cvs. Notice that trakkcor is created as Netbeans 6.0. project. Although the Mobility Pack for CLDC/MIDP is needed, its GUI-Builder is not used.
cvs -d:pserver:anonymous@trakkcor.cvs.sourceforge.net:/cvsroot/trakkcor login
cvs -z3 -d:pserver:anonymous@trakkcor.cvs.sourceforge.net:/cvsroot/trakkcor co -P trakkcor