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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


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

volume level change listener

[ Edited ]

I need to make a background listener, that can get notification on every up / down / mute / silent stat of device, I had checked the API, Which have audiolistener but of no use in this case. I need to do this process in background when UI application is not running.



Please help me out,

 

Thanks.

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: volume level change listener

Hi there,

 

Having a background process run without an app UI is currently not supported on the platform;

 

Martin

 

Developer
Posts: 1,638
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: volume level change listener

will this be changed in the future so that apps can listen to system and other events?

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

Re: volume level change listener

Hey Martin, implementing Application API with Listener API will work in background as thread. I had test this with PhoneListener.
but I dont found any listener for sound profile change.

Let me clear a doubt in question I am targeting version 5,6,7
Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: volume level change listener

You can have threads and processes running in the background, but no without having your app launched; "Headless apps" are not supported;

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

Re: volume level change listener

Hey thanks martin, understand your concern. do u have any idea about this kind of listener