Languages

Menu
Sites
Language
Accelerometer Data- 'devicemotion' Event Handler not working properly

Hi,

I am trying to store continuous accelerometer data on Grear 2. I am using IndexDB database. The app works fine until screen out happens. It the disply screen out happens, the 'devicemotion' event handler stop working and I donot get any accelerometer data. Need help to solve this. Any idea how to solve this.

 

Thanks,

Responses

1 Replies
daniel kim

Hi,

Currently Gear 2 stop the event trigger while screen is off.

Same topic was discussed already. please refer to this link.

https://developer.tizen.org/forums/web-application-development/device-motion-event-not-always-triggered