===!! Before Bidding !!===
- Read carefully the Acceptance criteria below
===!! When you bid !!===
- provide a description of the main classes you will develop. One line per class demonstrating you understand what has to be done. max 20 lines. Failure to provide this means bid is IGNORED.
- provide links to completed iOS projects
- provide links to completed Phonegap projects
- provide a milestone #1 estimate
===!! Bidders who do not comply with the above will be simply ignored : DO NOT WASTE YOUR TIME !! ===
Introduction:
Add a location (GPS) background service to an existing iPhone application based on Phonegap. The application should begin by starting the background service for tracking. The service must stay active when the application is put in the background or goes to sleep. The service should communicate to the Phonegap Javascript layer with a Phonegap plugin.
Milestone #1 : Acceptance criteria
- [ ] deliverable zip/tarball with Xcode project that compiles on iOS 4.3
- [ ] code linked to library phonegap-1.0
- [ ] the code starts a subclass of PhoneGapDelegate to be written
- [ ] the code starts a location (GPS) background service written
in Obj-C
- [ ] the code starts also a custom PhoneGap plugin to be written
- [ ] the application GUI displays a normal PhoneGap-based
JavaScript
- [ ] the GUI has two buttons to start and stop the background
service and a counter display
- [ ] the communication channel in the code is as follows : (Application GUI in JS) (PhoneGap Plugin) (Background service in Obj-C)
- [ ] the code detects if the background service is already running and reports on the console: yes/no
case 1) service not yet running:
- [ ] if not yet running, the code starts a location (GPS) background service written in Obj-C
- [ ] the location background service must comply with Apple iOS rules describe here : [login to view URL]
- [ ] the background service notifies it is starting with a message at startup but does not collect data yet : "Background service started"
- [ ] when the user clicks on 'Start' , the background service is notified through the plugin and the service starts counting
- [ ] the background service increases an internal counter every 5 seconds
- [ ] the GUI displays the value of the counter regularly by polling the Plugin
- [ ] when the user puts the application to sleep or when it goes to sleeps naturally , the background service keeps ticking (