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

BlackBerry® World™ 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
Regular Contributor
Posts: 63
Registered: ‎10-06-2010
My Device: Not Specified

Finding the True north value or magnetic north value

 I am trying to build a compass application in which I want to show the north pole direction in non touch screen device like curve and bold device how can I do that can any one help me

 

 

I saw the Orientation class but it always gives me null value what can I do for that

Highlighted
Developer
Posts: 499
Registered: ‎06-24-2008
My Device: Not Specified

Re: Finding the True north value or magnetic north value

I don't believe any BlackBerrys have a compass builtin as (I believe) does the iPhone.

 

In which case I doubt it's possible to get a value for magnetic north (though I'd be interested if there was a way).

 

In order to function correctly without a compass you'd have know the orientation of the device (vertically, horizontally etc) and so far as I'm aware that isn't possible.

 

The GPS API does provide a course value based on multiple GPS readings but that's as close as I've found.

 

 

Regular Contributor
Posts: 63
Registered: ‎10-06-2010
My Device: Not Specified

Re: Finding the True north value or magnetic north value

http://na.blackberry.com/eng/devjournals/resources/journals/jan_2006/blackberry_gps.jsp

 

 

please refer this link for more information. In this they have the orientation class to find the orientation but when i tried i am getting the value some times true north and some time i am getting the magnetic north. i don't know what is happening

Regular Contributor
Posts: 63
Registered: ‎10-06-2010
My Device: Not Specified

Re: Finding the True north value or magnetic north value

Mark can you help how to do that for both non touch screen device and touch screeen device.

Developer
Posts: 304
Registered: ‎08-01-2008
My Device: Not Specified

Re: Finding the True north value or magnetic north value

 


krishnan8727 wrote:
In this they have the orientation class to find the orientation but when i tried i am getting the value some times true north and some time i am getting the magnetic north. i don't know what is happening

What device and OS are you using to test ?

 

Regular Contributor
Posts: 63
Registered: ‎10-06-2010
My Device: Not Specified

Re: Finding the True north value or magnetic north value

The tour device 9630 and curve 8300 using the os 4.5