Android Question Direction here we drive walk to

appie21

Active Member
Licensed User
Longtime User
I have a question (what i can explain difficult because my English is not so good but i want to try)

Is it possible to know where someone is driving too (the driving direction without pointing the device too it

I mean if i drive in a car ( or train) and i open google maps i see the marker know my direction even if i turn mobile 180 of my seat the marker points in the good direction (also if you not have open a route)

How can i know the driving direction without pointing too that direction?


I want the driving direction (360 degrees and the position of the mobile (that i can catch with AddSensor(ps.TYPE_ORIENTATION, "ORIENTATION", True))
I hope my ans where is clear if not please ask
 

Cableguy

Expert
Licensed User
Longtime User
You'll need to timestamp 2 different GPS coordinates (or more, more is better) in order to get direction of movement.
 
Upvote 0
Top