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
Posts: 21
Registered: ‎10-03-2013
My Device: Z10
My Carrier: Telus
Accepted Solution

Capture Play/Pause KeyPress Event

Hello, how do I capture Play/Pause button?

 

Is this possible in qt/cascades?

 

Can anyone show a little sample code please?

 

Thank you!

Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Capture Play/Pause KeyPress Event

Take a look at the MediaKeyWatcher: https://developer.blackberry.com/native/reference/cascades/bb__multimedia__mediakeywatcher.html?f=me...

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Contributor
Posts: 21
Registered: ‎10-03-2013
My Device: Z10
My Carrier: Telus

Re: Capture Play/Pause KeyPress Event

:smileyhappy:)