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
New Developer
Posts: 126
Registered: ‎06-09-2010
My Device: 9000
My Carrier: T Mobile

Non UI Background application listen to media key

Hi all,

I wonder how to make a non UI background Application listen to media key (volume key)?

Any ideas or sample?

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Non UI Background application listen to media key

I believe this is possible, though I have never tried it myself.  Look to create a KeyListener and add it to your Application. See KeyListener class for more... 

New Developer
Posts: 126
Registered: ‎06-09-2010
My Device: 9000
My Carrier: T Mobile

Re: Non UI Background application listen to media key

Anyone has experience about this?

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Non UI Background application listen to media key

I recommend trying it.