You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
Describe the problem
Some Device does'nt have a Sensor Magnetic like Example Samsung Tab 5.
**Lesson and Step of the codelab can this issue be found :
TiltSpot Project Lesson 3, Step 1.3
How to reproduce?
Install the Demo Application on Device Tablet Samsung Tab 5 which does'nt have a Sensor Magnetic , so the accelormeter values never updated
Versions
version of Android Studio: 3.5.2
API level target : Android 21
Additional information
To fix this issue, just add else branch when SensorManager not found (NULL) and display incompatibilty sensor device message.
The text was updated successfully, but these errors were encountered:
sofien4387
changed the title
Advanced Android: [Lesson #][Step #][description]
Advanced Android: [Lesson 3][Step 1.3][Sensor based orientation values never updated on some Incompatible Android Device]
Oct 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the problem
Some Device does'nt have a Sensor Magnetic like Example Samsung Tab 5.
**Lesson and Step of the codelab can this issue be found :
TiltSpot Project Lesson 3, Step 1.3
How to reproduce?
Install the Demo Application on Device Tablet Samsung Tab 5 which does'nt have a Sensor Magnetic , so the accelormeter values never updated
Versions
Additional information
To fix this issue, just add else branch when SensorManager not found (NULL) and display incompatibilty sensor device message.
codelab: advanced-android
Advanced Android 03.2: Sensor-based orientation
The text was updated successfully, but these errors were encountered: