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
Trusted Contributor
kunal_one
Posts: 125
Registered: ‎12-23-2012
My Carrier: wifi

Launch Application on some key press

Hi,

 

I want to launch application, based on some key press, say volume Up.

 

Is it possible and How can I do the same ?

Please use plain text.
Developer
StevenKader
Posts: 631
Registered: ‎02-03-2010
My Carrier: Rogers

Re: Launch Application on some key press

Sorry that is not possible.


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
Trusted Contributor
kunal_one
Posts: 125
Registered: ‎12-23-2012
My Carrier: wifi

Re: Launch Application on some key press

I thought so, Thanks for confirmation.

Please use plain text.
Developer
StevenKader
Posts: 631
Registered: ‎02-03-2010
My Carrier: Rogers

Re: Launch Application on some key press

If you tell me why you want to do that perhaps there is something else that would help.


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
Trusted Contributor
kunal_one
Posts: 125
Registered: ‎12-23-2012
My Carrier: wifi

Re: Launch Application on some key press

Well, I have a spare feature phone, If I press certain button it tells me current time.

 

I like this perticular feature very much, and thought to implement similar feature for my blackberry device.

Please use plain text.
Developer
StevenKader
Posts: 631
Registered: ‎02-03-2010
My Carrier: Rogers

Re: Launch Application on some key press

I see.  It is possible to have an app that remains open and listens for the keypress.... then it could show a notification dialog with the time.


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
Trusted Contributor
kunal_one
Posts: 125
Registered: ‎12-23-2012
My Carrier: wifi

Re: Launch Application on some key press

I think thats one option.

 

Can application receive key press event, even it's not in foreground ?

Please use plain text.