Android Question Is there any way to prevent Android from pausing a process

Troberg

Well-Known Member
Licensed User
Longtime User
Is there any way to prevent Android from pausing/destroying a process that has been moved to the background?

I'm working on a media player, and I don't want to risk the music stopping/stuttering just because Android thought the user didn't want it anymore because the user is working in another app.
 

eps

Expert
Licensed User
Longtime User
No, I think you need to use a service to play the music, then this can restart itself every so often.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…