blackberry / BB10-WebWorks-Framework

The BB10 WebWorks Framework is packaged within an application BAR file to run on a BB10 device (or simulator)
60 stars 34 forks source link

Access to the Media Keys ("MediaKeyWatcher") #577

Open kwallis opened 11 years ago

kwallis commented 11 years ago

Moved from blackberry/WebWorks/issues/133

This is a feature request to get WebWorks access to the device's media keys. It is already available in Cascades as described here: https://developer.blackberry.com/cascades/reference/bb__multimedia__mediakeywatcher.html

Media Keys might be handy for a number of tasks. In my case I'd like to use them in order to control the volume of remote systems.

thtro commented 11 years ago

+1

asiayeah commented 11 years ago

I'd like to use it on an ebook reader.

thtro commented 11 years ago

Are there any updates on this? I really need this soon, and with my humble knowledge of C++ I didn't manage to create this extension. I'm interested to receive the longPress events of Volume+- and the middle button click event. I've tried something, but doesn't seem to work fine(C++ wise): http://supportforums.blackberry.com/t5/Native-Development/MediaKey/m-p/2348597#M13530

I know you're focusing on the Cordova thing...but don't forget about us, solely WebWorks devs who don't really need the Cordova thing. I haven't seen any new WebWorks plugins lately and no talk about this. This plugin and the NowPlaying connection #578 would be very useful.

cc @astanley

kwallis commented 11 years ago

Hi Andrei. We are actively planning out our releases for this summer. The Cordova move is certainly our priority, and once we have a handle on when that will be complete we will be able to determine what additional work we will be able to squeeze in.

I 'll see in the meantime if there is any way we can get some additional eyes on your forum post with respect to your custom extension.

Thanks!

Sent from my BlackBerry Z10 smartphone From: Andrei Sent: Saturday, May 18, 2013 5:11 AM To: blackberry/BB10-WebWorks-Framework Reply To: blackberry/BB10-WebWorks-Framework Cc: Ken Wallis Subject: Re: [BB10-WebWorks-Framework] Access to the Media Keys ("MediaKeyWatcher") (#577)

Are there any updates on this? I really need this soon, and with my humble knowledge of C++ I didn't manage to create this extension. I've tried something, but doesn't seem to work fine(C++ wise): http://supportforums.blackberry.com/t5/Native-Development/MediaKey/m-p/2348597#M13530

I know you're focusing on the Cordova thing...but don't forget about us, solely WebWorks devs who don't really need the Cordova thing. I haven't seen any new WebWorks plugins lately and no talk about this. This plugin and the NowPlaying connection #578https://github.com/blackberry/BB10-WebWorks-Framework/issues/578 would be very useful.

cc @astanleyhttps://github.com/astanley

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-WebWorks-Framework/issues/577#issuecomment-18099911.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

thtro commented 11 years ago

I would really appreciate if someone could take another look at my forum post. I've added some details on the forum thread, to be easily understandable what I'm trying to do and avoid reading the entire thread http://supportforums.blackberry.com/t5/Native-Development/MediaKey/m-p/2376735/highlight/true#M13757

It seems that I'm not the only one answering support emails on weekends :+1: Really appreciate your answer, thanks!

kwallis commented 11 years ago

Got to catch up after BlackBerry Live somehow... :)

Sent from my BlackBerry Z10 smartphone From: Andrei Sent: Sunday, May 19, 2013 2:29 AM To: blackberry/BB10-WebWorks-Framework Reply To: blackberry/BB10-WebWorks-Framework Cc: Ken Wallis Subject: Re: [BB10-WebWorks-Framework] Access to the Media Keys ("MediaKeyWatcher") (#577)

I would really appreciate if someone could take another look at my forum post. I've added some details on the forum thread, to be easily understandable what I'm trying to do and avoid reading the entire thread http://supportforums.blackberry.com/t5/Native-Development/MediaKey/m-p/2376735/highlight/true#M13757

It seems that I'm not the only one answering support emails on weekends [:+1:] Really appreciate your answer, thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/blackberry/BB10-WebWorks-Framework/issues/577#issuecomment-18114861.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

timwindsor commented 11 years ago

@andreyavram We're going to take a look at doing this through the community (and Dev Rel of course). I've taken a look at your forum post and I think the problem is in Signals and Slots not being supported in the basic extension project. We need to figure out a way around it, or a way to do it. Is your code on GitHub somewhere?

thtro commented 11 years ago

@timwindsor I'm glad you are taking this very seriously. I posted my extension on github here: https://github.com/andreyavram/test-extensions/tree/master/Template

Thanks!