I have an application that is designed to store GPS points into a
local database at a regular intervals as you travel around, however,
it seems that our application does not consistently do this. When I
run the application, there are large sections of data in the database
that are empty, in that there are no stored points for long
stretches. When looking at the data, it appears as if the application
has stopped working, and then unexpectedly it starts working again,
storing data as it is designed to do.
I know that the Android operating system is designed to shed processes
when needed to free up resources, but I do not think that this is the
case as there are only one or two applications running at a time on
the phone when this happens. Might you have any ideas as to what
might be happening? I am expecting the process to store the GPS
position data to the database consistently. Any advice or
suggestions?
Thanks,
Craig
You can find a tutorial by Mark Murphy here:
http://www.androidguys.com/2009/04/02/wake-up-with-the-alarm/
also:
http://www.google.com/search?hl=en&q=android+alarmmanager+tutorial&aq=1&oq=android+alarmmana&aqi=g3
Cheers,
Wes