android:persistent="true" can this piece of code make my app running in background even user clear running apps? -
i want app running when user clears running app. can use this:
android:persistent="true"
or should go service
class?
android:persistent
whether or not application should remain running @ times — "true" if should, , "false" if not. default value "false". applications should not set flag; persistence mode intended system applications.
you should not use flag. go service
instead.
Comments
Post a Comment