i have a application where i have to send gps(location) updates every 10 minutes to a server.So i am using alarm manager.I have read that async task is the best way for communicating with a server.is there any other way for sending the location updates?or is this a good method?
Asked
Active
Viewed 270 times
0
-
You can use `Asynctask` or simply use a `Thread` – CodeWarrior Jul 19 '14 at 07:35
-
@AndroidWarrior will the asynctask work for low end device also?Or the OS will kill it? – user3790145 Jul 19 '14 at 07:38
-
Use a `BroadcastReceiver` with an `IntentService` – Squonk Jul 19 '14 at 07:56
-
`AsynTask` will work just fine it was added in `API lvl 3` – CodeWarrior Jul 19 '14 at 08:11