I am developing an android app.
I want the program Regularly Download something from database over the Internet in background.
Should I use AlarmManager to trigger the BroadcastReceiver to download data from database?
Or there is other better method? Please give me some keywords to google if there is.
Thank You.
BroadcastReceiveris supposed to be pretty short lived, so you’re better off starting up aServiceto download, but using theAlarmManagerto trigger the whole process is probably the way to go.