07-21-2011 09:21 AM
I m working on application in which playing music from Resource file using Player.
But the problem is When Call comes Player stops and Not restarted on End of call.
Same is happening if I switch Off device by long pressing the End(Red) key..
So How to handle this Situation? I required to play Uninterrupted music or Music will start on end of call and after switching on Device.. How to handle the cases?
Solved! Go to Solution.
07-21-2011 03:16 PM
Your player is recieving a DEVICE_UNAVAILABLE message when it is stopped due to a phone call, and the Player is stopped for you (you don't have control over that). When the phone call ends your Player is recieving a DEVICE_AVAILABLE event, but the Player will not be started for you. It is up to you to restart your Player when that event comes in
07-22-2011 03:36 AM - edited 07-22-2011 03:37 AM
Thanks a lot BVP,
It solved my Issue When Incoming call Receive..
But still is there any way to handle player when Red key is long pressed to Switch off device and again Switching on Player goes stopped and not Restarting....
if its not possible then I will mark post as solved.