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

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

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