Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android | Use geomagnetic rotation sensor as fallback #38

Merged
merged 1 commit into from
Jul 27, 2020
Merged

Android | Use geomagnetic rotation sensor as fallback #38

merged 1 commit into from
Jul 27, 2020

Conversation

Xennis
Copy link
Contributor

@Xennis Xennis commented Jul 26, 2020

If the TYPE_ROTATION_VECTOR is not available (e.g. on cheaper or older Android devices)
use TYPE_GEOMAGNETIC_ROTATION_VECTOR as fallback. That's increases the support for
more Android devices.

TYPE_GEOMAGNETIC_ROTATION_VECTOR is:

Similar to TYPE_ROTATION_VECTOR, but using a magnetometer instead of using a gyroscope. This sensor uses lower power than the other rotation vectors, because it doesn't use the gyroscope. However, it is more noisy and will work best outdoors.

If the TYPE_ROTATION_VECTOR is not available (e.g. on cheaper or older Android devices)
use TYPE_GEOMAGNETIC_ROTATION_VECTOR as fallback. That's increases the support for
more Android devices.
@hemanthrajv hemanthrajv merged commit 4f10681 into hemanthrajv:master Jul 27, 2020
@Xennis
Copy link
Contributor Author

Xennis commented Aug 1, 2020

@hemanthrajv can you please release a new version with that change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants