a2stepper Member Licensed User Longtime User Jan 25, 2015 #1 i'm using the mediaplayer found in the tutorials and works great but when the phone power times out the app stop playing. how might i get it to keep runing when times out? thanks. Paul
i'm using the mediaplayer found in the tutorials and works great but when the phone power times out the app stop playing. how might i get it to keep runing when times out? thanks. Paul
NJDude Expert Licensed User Longtime User Jan 25, 2015 #2 You have to prevent the phone for going to "sleep", you can search the forum to learn how to do that (hint: PhoneWakeState). Upvote 0
You have to prevent the phone for going to "sleep", you can search the forum to learn how to do that (hint: PhoneWakeState).
a2stepper Member Licensed User Longtime User Jan 25, 2015 #4 i have used the keep awake and works great but i'm using a media player with mabey an hour audio file playing and would want the screen to turn off but keep the app alive and playing. is there any way to do this? thanks. paul Upvote 0
i have used the keep awake and works great but i'm using a media player with mabey an hour audio file playing and would want the screen to turn off but keep the app alive and playing. is there any way to do this? thanks. paul
NJDude Expert Licensed User Longtime User Jan 25, 2015 #5 In that case, move your media player to a service. Upvote 0
a2stepper Member Licensed User Longtime User Jan 25, 2015 #6 ok, but what's a player service???? Upvote 0
NJDude Expert Licensed User Longtime User Jan 25, 2015 #7 Your media player sub, move it to a service. Upvote 0
a2stepper Member Licensed User Longtime User Jan 25, 2015 #8 ok but still don't know to service? Upvote 0
NJDude Expert Licensed User Longtime User Jan 25, 2015 #9 You can start by reading THIS, there are plenty of examples too. Upvote 0