alex
alex

Reputation: 11408

Obtaining sensors data while the screen is off (Android 4.0+)

As far as I know on Android devices there is no 100%-sure way to get the data from device sensors while the screen is off. There are some workarounds, but they do not work always. But all the posts I read were describing Android versions ~2.2.

Does anyone know whether the bug was fixed in Android 4.0+ ?

Upvotes: 0

Views: 326

Answers (1)

alex
alex

Reputation: 11408

This WakeLock works like charm.

Upvotes: 1

Related Questions