In my application, I have an IntentService that reads rss feeds. I would like this operation to be performed every 30 minutes. What is the best way to do this?
thanks a lot
Gratzi
setInexactRepeating in AlarmManager. It saves battery.
http://developer.android.com/reference/android/app/AlarmManager.html
Source: https://habr.com/ru/post/1334500/More articles:Check date and time entered by user on UNIX - unixSQL Server 2008, how much space does this lesson take? - sqlC ++ Builder 2010 - c ++error when receiving mail through a proxy server - javaAutomatically generate email addresses and receive email using C #? - c #MySql Cursor - creating a procedure - mysqlIs there an easy way to get a JSON dataset from a remote server in Grails? - jsonFinding CPU time in Windows from the command line - windowsChrome: how to close a tab inside a page? - google-chrome-extensionIs there an easy way to add a check mark to the tip of a balloon? - c #All Articles