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: 1,531
Registered: ‎07-14-2008
My Device: Z10
Accepted Solution

how to determine the direction using GPS?

I can get the GPS heading in degrees.

how do i determine which direction it is?

 

i want to know if i'm heading N, NE or SE etc..

 

thx

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: how to determine the direction using GPS?

It's all relative to "North".

 

0 is North

90 is East

180 is South

270 is West

 

...and you can figure out the non-cardinal points from there.

 

Developer
Posts: 1,531
Registered: ‎07-14-2008
My Device: Z10

Re: how to determine the direction using GPS?

thanks. i didnt think it was that easy :smileysurprised:

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: how to determine the direction using GPS?

OK - mark the thread "solved" then?