08-15-2009 09:18 PM
I am using the Player to play never ending sounds but when a phone call comes through it stops playing the media player.
What is the proper way to listen for a system audio interruption? I suppose when the application comes back into focus I can check if the media player had stopped? Just looking for the all around best method for audio interruptions so that I can restart the player.
Solved! Go to Solution.
08-15-2009 10:10 PM
If you check out the PhoneApiDemo sample, there is an implementation of a class using AbstractPhoneListener and there are two methods, callConnected and callDisconnected. I think that this may help, so you can see when to pause yourself and clean up some memory and when to start playing again.
Hope this helps
03-23-2011 03:35 AM
I am also having the same problem. can you please answer to this http://supportforums.blackberry.com/t5/Java-Develo