Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
parth0007
Posts: 10
Registered: ‎08-24-2012
My Device: all blackberry device - including dev alpha
My Carrier: vodafone
Accepted Solution

sound profile change/volume change listener in blackberry

[ Edited ]

I want to make an application that listen to the sound profile change/volume change in blackberry. Targeting versions are 5,6,7.

I had search in documentation of Blackberry but found nothing.

Two things i found during searching.

  1. globaleventlistener This needs GUID of that event, this event is not documented in event GUID list.

  2. Notification manager Notificationmanager might help with one of the register. but i don't know how to register it with system events. It also needs GUID.

please share resource if i missed something.

I am new to blackberry development. please help me out.

Thanks,

Parth Shah

Please use plain text.
Administrator
MSohm
Posts: 14,379
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: sound profile change/volume change listener in blackberry

While there is no global listener for volume changes, you can listen for users pressing the volume keys.  MediaKeyListener allows for that.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.