I am a complete newbie to Android development;
Basically, I am about to write an application, that will let the user to take photo, which (with a bunch of extra data) will be submitted to the remote webservice.
So I'm guessing I will need:
- A Photo-taking application (Activity) that will gather all the extra data and put in the SQLite DB.
- A background service looking up the DB in time intervals and sending the data over the Internet, optionally making web requests with current GPS location (I'm trying to keep in mind, that sometimes network would not be accessible).
- A receiver object that will run the service at boot, and optionally check if the service needs to be restarted.
My concerns are:
- Do I really need to monitor the service and care about anything bad that could kill it.
- Will the battery last for at least 12 hours with a non-stop running service, making some networking/GPS actions in, let's say, 30-minute intervals. (G1/Dream)
- What else should I be careful about?
Any ideas/suggestions will be appreciated.