Using phonegap to create cross-platform gps app.