2

I need to be able to mute other audio playing on the device when my application is playing something - similarly to how the media player will stop when you receive a phone call.

There is the PriorityControl interface in javax.microedition.amms.control (as part of JSR-234) but according to my own research and to the BlackBerry Knowledge Base article "Advanced Multimedia Supplement API - What's Supported" it is not supported/implemented on the BlackBerry OS.

Is there any other way to do this on BlackBerry?

The app I'm working on is playing audio messages when they come from the network so I'd like to be able to give them priority of some sort so the user could hear them. Any other suggestions how to do that are very welcome.

double-beep
  • 5,031
  • 17
  • 33
  • 41
Neven Boyanov
  • 749
  • 8
  • 14

1 Answers1

1

I don't think this is possible. You can adjust the volume of your own player, but you cannot control sound played by other apps. You could change system volume using EventInjector hacks to inject virtual volume key presses, but this would also affect your app.

Mister Smith
  • 27,417
  • 21
  • 110
  • 193