I have some data in my SQLite database table. When my app starts, I want to send that data to the server every 5 minutes.
When the app is closed, it should stop.
- What is the best approach for this?
- Should I use
Service
orIntentService
? - Should I use
AlarmManager
,Handler
or any other thing? - I'm aware of my application speed. I don't want to make it slow. What is the effective approach?