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
Developer
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

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

 

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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?

Developer
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

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,

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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 ..."

Developer
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

Re: Make compass functionality

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

Can I do that ?

Thanks.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Make compass functionality

Developer
Posts: 201
Registered: ‎12-17-2010
My Device: Not Specified

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..

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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.