Hello Dear Comrades,
I am developing an android app to get location of the phone periodically. I am using a handler class with priority BACKGROUND, but it is not running when I locks the phone.
Please suggest a way to keep it running even when the phone is locked so that it can register location without needing attention everytime.
Many thanks :)
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
QQ,i saw the same, and found in codelab [codelabs.developers.google.com/cod...]