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

Java Development

Reply
Contributor
Posts: 15
Registered: ‎06-14-2011
My Device: 8520
My Carrier: airtel

Digital Compass in Blackberry

Hello,

 

Please help!

 

I want to integrate compass to blackberry app. How to customize default compass and is it possible to make it compatible to 5..0 os version.

 

Thanks.

Developer
Posts: 228
Registered: ‎10-01-2011
My Device: Passport

Re: Digital Compass in Blackberry

The CompassField we introduced in 7.0 so you'd need to create your own for 5.0, if you can.   Since it is just a field you can extend it like any other field.

Contributor
Posts: 15
Registered: ‎06-14-2011
My Device: 8520
My Carrier: airtel

Re: Digital Compass in Blackberry

Hello crispyoz,

 

Thanks for attention.

 

I want to know how can we make own customized compass on 5.0, if there is no support for megnatometer.

And how can we customise existing compass field?

 

 

Thanks.

 

Highlighted
Developer
Posts: 228
Registered: ‎10-01-2011
My Device: Passport

Re: Digital Compass in Blackberry

If the device has no Magnatometer,  the only way you can get direcitonal infomation that I can think of would be you would need to calculate direction based up on you location and the location of the cell towers and if the cell network will provide you with enough information.

 

Some of the Nokia devices used this type of system 

 

------------------------------------------------------------------------

Please press the LIKE button on the right if I helped you.
Please press the SOLVED if this solved your problem