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

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -