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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Contributor
Posts: 31
Registered: ‎08-25-2012
My Device: Torch 9800
My Carrier: none

Azimuth angle(angle between true north and earths magnetic north) in Playbook webworks

I have read in BB Tablet webworks SDK API reference that playbook supports HTML5's deviceorientationevent listener.

but when i tested it in playbook it wasn't giving any result.

Does playbook webworks really supports deviceorientationevent listener?

Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Azimuth angle(angle between true north and earths magnetic north) in Playbook webworks

As far as I know there is "only" the devicemotion event supported on PB and I couldn't find anything about deviceorientation that you have read in the API documentation, can you add a URL you read about it?!


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Contributor
Posts: 31
Registered: ‎08-25-2012
My Device: Torch 9800
My Carrier: none

Re: Azimuth angle(angle between true north and earths magnetic north) in Playbook webworks

So how could i access playbooks magnetometer information in webworks app. I am sure playbook has magnetometer Smiley Happy

Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Azimuth angle(angle between true north and earths magnetic north) in Playbook webworks

Read my post, have a closer look at the provided link, try the sample source code on the linked page. Also have a closer look to the HTML5 Acceleration API documentation for some more informations.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Highlighted
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Azimuth angle(angle between true north and earths magnetic north) in Playbook webworks

There is also more information on this answered thread:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Playbook-rotation-orientation-ti...

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.