The requirement is sending GPS location to our webserver and viewing the website for traffic data.
Basically i wrote a Map Activity that will track the lat,lon as we drive down and sends the lat,lon everytime the location is changd to our server.The user selects a menu option to go to our website to see the traffic for that location.So user will be watching the website all the time but the Map activty started at first should keep sending the lat,lon information to our server.Because based on the location information we will show the traffic .
The problem is it sends the location information for the first time and when the user selects the menu option to go to the website then it stops sending the information as it is pushed down on the stack and paused i beleive.
Could you guys please throw some thoughts on how to handle this.I saw that we can use threads but i am wondering is there any entry on the manifest file or somwhere that will allow two activites run at the same time,
Any help is appreciated.