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
Developer
Posts: 188
Registered: ‎04-07-2013
My Device: BlackBerry Z10
My Carrier: Telus
Accepted Solution

Override Volume Keys?

Hi, is it possible to override the volume keys (three keys on the side of z10)

I am creating a camera app, and I would like to snap a picture when users press volume keys.

Thank you
jayvdiyk.com
Developer
Posts: 293
Registered: ‎10-15-2012
My Device: bb10 developer
My Carrier: Orange

Re: Override Volume Keys?

You can do this with a MediaKeyWatcher -
Highlighted
Developer
Posts: 188
Registered: ‎04-07-2013
My Device: BlackBerry Z10
My Carrier: Telus

Re: Override Volume Keys?

Thank you!. That works
jayvdiyk.com