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
parth0007
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.

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
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

 

Please use plain text.
Developer
smiley
Posts: 1,419
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?

Please use plain text.
Contributor
parth0007
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
Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
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;

Please use plain text.
Contributor
parth0007
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
Please use plain text.