T Troberg Well-Known Member Licensed User Longtime User Sep 25, 2014 #1 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.
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 Sep 25, 2014 #2 No, I think you need to use a service to play the music, then this can restart itself every so often. Upvote 0
No, I think you need to use a service to play the music, then this can restart itself every so often.
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2014 #3 There is: Creating a sticky service - long running background tasks Upvote 0