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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -