I am in need of an application made with Phonegap that enables mobile phone users to automatically send their location to a webserver.
It should always run in the background as long as the phone is docked or has a power supply, only run on battery when the user allows it.
The configurable interval defaults to every minute will moving and once every 15 minutes when not moving.
It should keep a log if gps messages can not be send to the server, so that it can be send later.
The sending to the server must be in order of time so if a log is build up, the oldest message needs to be transmitted first.
The screen will have 4 buttons, settings, start, stop and test.
In settings there will be a few items that can be set:
interval while driving range between 1-5 minutes
interval while not driving range between 5 minutes and 60 minutes
webserver URL sample:http://www.server.com/gps.ashx? (followed by the gps data)
debug setting off/minimal/verbose
Start button will activate GPS and starts the interval according to moving or not moving. You will need to detect if in motion and when stopped for a short time maintain the while moving interval. After not moving for at least 5 minutes the interval changes to the not moving setting.
Stop button deactivates GPS, will flush all remaining messages to the server and stays idle until the start button is pressed.
Test button wil activate the GPS, test for valid messages, show debug messages, sends a messages to the server and waits for an OK response.
This can be used to test both the correct working of the GPS and if the server settings are correct.
Each app will need a unique ID that can be generated on first use and never changes afterward.
On screen will be an indicator if GPS has a fix, the current/last Longitude, Latitude, Timestamp, Speed and direction.
How many messages are in queue to be send to the server (normally this would be 0).
This will be a small part of a larger project consisting of more apps that will include mapping, messaging, making pictures and more.
The gps tracking has to be rock solid as that is the foundation for the rest of the project.
The delivered product will need to work on recent versions of iPhone/iPad, Android Phone and tablet, Windows 8 phone and surface.
The only library that can be used is from http://xuijs.com/.
When bidding please provide estimated delivery time. A good product is more important then very fast delivery.