It's very simple to move that sub to a service. You can use "ServiceStartAtExact". Using it in an activity (e.g. with a timer) will cause problems as the activity will pause when the user presses the home button (= when it is not "visible"). Work with partial lock/Wake state (use the search for that).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.