java - Compass guide to GPS destination -



java - Compass guide to GPS destination -

i want rotate imageview arrow current user location saved gps location. how do this?

is initial bearing got location.distancebetween method right way go on this? if so, how utilize compass readings?

you can utilize bearingto method in location class, retrieve current bearing using sensormanager.getorientation method.

finally, adding both results, draw arrow.

hope helps.

java android gps compass-geolocation

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -