D
D
Denis2017-09-15 17:35:18
Android
Denis, 2017-09-15 17:35:18

What is needed to determine the azimuth in the phone?

Hello!
I need to determine the azimuth for the photo being taken.
As I understand it, you can only determine the azimuth of the device if it has a magnetometer.
At least for devices that are stationary.
Is this true or are there other methods?
And is there a library for determining the azimuth?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Kuzmichev, 2017-09-15
@lacredin

The azimuth is calculated based on data received via the standard API from the device's sensors: https://developer.android.com/guide/topics/sensors...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question