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

Web and WebWorks Development

Reply
New Contributor
Posts: 9
Registered: ‎08-11-2009
My Device: Torch 9850

Volume Control API

Hello everyone,

 

Is there any way to automatically control the volume level when opening a app?

Find me on Twitter @LunarsEdge
New Contributor
Posts: 9
Registered: ‎08-11-2009
My Device: Torch 9850

Re: Volume Control API

bump... 

 

anyone able to help on this?

Find me on Twitter @LunarsEdge
Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Volume Control API

I'm afraid you can't.

Probably the only way out is to develop an extension to do it.

Nuno
New Contributor
Posts: 9
Registered: ‎08-11-2009
My Device: Torch 9850

Re: Volume Control API

Thanks for the reply . :smileyhappy: 

 

Could you elaborate on that a bit?

Find me on Twitter @LunarsEdge
Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Volume Control API

[ Edited ]

WebWorks supports JavaScript extensions, which can be developed externally and give you access to APIs which are not part of WebWorks itself (yet).

There are plenty of such extensions developed by the community for phones and some for the tablet. I can't seem to find one for the volume, but you can follow the instructions and examples and try to develop your own (and then give it back to the community :smileywink:

Check here: https://github.com/blackberry/WebWorks-Community-APIs

 

Nuno
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Volume Control API

Jerde - what BlackBerry device platform are you looking for this feature on?

 

I've just added the following request to Github, indicating BlackBerry 10 as an initial target platform for this API.

https://github.com/blackberry/WebWorks-Community-APIs/issues/96

 

 

Any keen developers out there interested in implementing this extension and contributing it back to Github?

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Volume Control API

I would if I could understand your Native Extension sample but at this time I do not and it is really a big thing to do WebWorks and understand/search the Native API to use the right functionality. :smileywink:


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
New Contributor
Posts: 9
Registered: ‎08-11-2009
My Device: Torch 9850

Re: Volume Control API

Hello astanley, nice to see that it's been submitted for BlackBerry 10 as I could use it when adding my app to that platform.

 

Currently, I'm looking to implement a volume control API using webworks with the PlayBook and OS 7 devices. 

 

Thanks!

Find me on Twitter @LunarsEdge