JuanAndroid
Lurker
Hi,
I'm creating the typical mobile app with login page.
Once a user is logged in, I need to get each X minutes the current GPS location.
I need that the process that gets the GPS location:
- is alive between the different activities present after login
- must be closed on logout
- must be active if the app is in background on the mobile
- the process has to be unique per login so it's not valid a "singleton" solution running for all mobile app instances.
Could anyone help me with the architecture: AsyncTask, Timer, IntendedService...?
Thanks a lot,
Best regards.
I'm creating the typical mobile app with login page.
Once a user is logged in, I need to get each X minutes the current GPS location.
I need that the process that gets the GPS location:
- is alive between the different activities present after login
- must be closed on logout
- must be active if the app is in background on the mobile
- the process has to be unique per login so it's not valid a "singleton" solution running for all mobile app instances.
Could anyone help me with the architecture: AsyncTask, Timer, IntendedService...?
Thanks a lot,
Best regards.
Last edited: