Question

I have two points. Now is it possible to tell what windDirection one point is from another (eg Africa lays south of Europe)?

Was it helpful?

Solution

Perhaps Location.bearingTo(Location) is what you're looking for.

http://developer.android.com/reference/android/location/Location.html

You'd just need to map ranges of return values to north, east, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top