activate app in background on button click android -


i have button in android app activate or deactivate app button.i want when user clicks button app should activate if deactivated , vice versa. , when app on activate mode should run in background , work on power or home button click , or shaking mobile , gps location , send message. beginner please explain code file.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -