getback_gps icon indicating copy to clipboard operation
getback_gps copied to clipboard

use TYPE_ROTATION_VECTOR for compass rotation

Open ruleant opened this issue 8 years ago • 1 comments

Suggestion by @Sasja See example : https://gitlab.com/sasja/FestivalRadar/-/blob/master/app/src/main/java/com/pollytronics/clique/CliqueActivity_Main.java#L65

mRotation = mSensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); // might return null!

ruleant avatar Sep 09 '15 20:09 ruleant

https://developer.android.com/reference/android/hardware/Sensor#TYPE_ROTATION_VECTOR

ruleant avatar Jan 26 '21 19:01 ruleant