gps orientation in android

Posted by klaus-vlad on Stack Overflow See other posts from Stack Overflow or by klaus-vlad
Published on 2010-06-09T08:24:11Z Indexed on 2010/06/09 8:32 UTC
Read the original article Hit count: 231

Filed under:

Hi

I know that the function Location.getBearing() returns the bearing if any when in move

 public void onLocationChanged(Location lastLocation)
  {
     int bearing=lastLocation.getBearing()
  }

,so now bearing might be , 170 degrees..but, I'd like to know if there is anything in android that will give me the direction of the orientation (ex for 170 degrees , the direction is : SSE south, south east)

© Stack Overflow or respective owner

Related posts about android