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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Trusted Contributor
milanvishal
Posts: 171
Registered: ‎12-17-2010

Make compass functionality

Is it possible to make functionality like compass for Blackberry os 6.0?

If any idea please help me.

All suggestions are appreciated.

 

Thanks,

Milan

 

 

Please use plain text.
Developer
peter_strange
Posts: 17,722
Registered: ‎07-14-2008

Re: Make compass functionality

This looks like this nformaitn might help you do this:

http://docs.blackberry.com/en/developers/deliverables/29251/Magnetometer_1558126_11.jsp

 

But as far as I know, this is OS 7.0 only, so you need an OS 7 device.  Not sure how or if you could do this in OS 6.0.  Does it really need to be OS 6.0?

Please use plain text.
Trusted Contributor
milanvishal
Posts: 171
Registered: ‎12-17-2010

Re: Make compass functionality

Hi, 

Thanks for reply ...

yes I have to give support from 6.0 OS.

Actually I have to show on the basis of longitude & longitude ...

If any idea let me know...

 

Thanks,

Please use plain text.
Developer
peter_strange
Posts: 17,722
Registered: ‎07-14-2008

Re: Make compass functionality

A compass usually shows where north is, and that is all.  What do mean by this?

" I have to show on the basis of longitude & longitude ..."

Please use plain text.
Trusted Contributor
milanvishal
Posts: 171
Registered: ‎12-17-2010

Re: Make compass functionality

Yes,I have to show direction on the basis of latitude & longitude...

Can I do that ?

Thanks.

Please use plain text.
Developer
peter_strange
Posts: 17,722
Registered: ‎07-14-2008

Re: Make compass functionality

Please use plain text.
Trusted Contributor
milanvishal
Posts: 171
Registered: ‎12-17-2010

Re: Make compass functionality

I got direct using that code but I want to get direction on the basis of Device.

As Device rotate direction should have to update.

As I write code in that case direction remained same...

I want to do functionality like compass..

I think you get my Question...

 

Thanks..

Please use plain text.
Developer
peter_strange
Posts: 17,722
Registered: ‎07-14-2008

Re: Make compass functionality

So is that question solved now?  If so, can you mark it as Solved, see Instructions in the Help Link near the top of the screen.

 

Regarding figuring out the direction your device is pointing, sorry can't help, but do a search for compass in the forum and you will find similar questions that might help. 

Please use plain text.