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

Native Development

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

Ringer mode/sound profile change receiver/Listener

I am new developer at Blackberry community, I had seen arond development blogs and api but i dont find any listener for this event

event is "change of volume" , I need to listen to it in background without any  UI.

 

 

Please help me out. 

Parth Shah

Developer
Posts: 216
Registered: ‎08-23-2012
My Device: Javelin 8900
My Carrier: Axis

Re: Ringer mode/sound profile change receiver/Listener

you can find in blackberry API, to get this function
Posts: 89,143
Likes: 23,741
Solutions: 6,112
Registered: ‎04-01-2008
My Device: Passport • Z30 • Z10 • Torch9850 • Playbook
My Carrier: Verizon

Re: Ringer mode/sound profile change receiver/Listener


moniko17 wrote:
you can find in blackberry API, to get this function

Moniko, are you a developer? Do you have knowledge of how this user can use the API?




1. If any post helps you please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes


Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code
Contributor
Posts: 10
Registered: ‎08-24-2012
My Device: all blackberry device - including dev alpha
My Carrier: vodafone

Re: Ringer mode/sound profile change receiver/Listener

Thanks moniko17 but I had already seen the API as i mention in question. if you have any link please share. it will be helpful to me.

 

 

Thanks,

Parth Shah

BlackBerry Development Advisor (Retired)
Posts: 60
Registered: ‎05-10-2012
My Device: Blackberry 10 Alpha
My Carrier: none

Re: Ringer mode/sound profile change receiver/Listener

Hi Parath0007, I am assuming you are using BB10?

There are a several ways of monitoring the volume with the native sdk. One is through the AudioMixer api https://developer.blackberry.com/native/reference/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_ref/to...

The other is through the mmrrenderer https://developer.blackberry.com/native/reference/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_ref/to...
Contributor
Posts: 10
Registered: ‎08-24-2012
My Device: all blackberry device - including dev alpha
My Carrier: vodafone

Re: Ringer mode/sound profile change receiver/Listener

No, Sorry for confusion with my profile but this time I am targeting 5 , 6 , 7. AudioMixer is not working in this case.
BlackBerry Development Advisor
Posts: 668
Registered: ‎11-29-2011
My Device: developer
My Carrier: other

Re: Ringer mode/sound profile change receiver/Listener

sounds like you're posting in the wrong forum then.

 

"Discussion topics regarding application development on the Native SDK for the PlayBook OS or BlackBerry 10."