1

I am trying to develop an android app. So I would like to know how to make the app keep running when I press the back button or home button or lock the screen(just like a music player app). Currently when I press the back button or home button or lock the screen , the app pauses the activity and resumes when I open the app again. I want the app to keep running in the background until I stop it manually from the app(just like a music player app).

0 Answers0