Replies: 2 comments 8 replies
-
Currently, AOD should be the best solution for this task. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Make sure your watch face is using 3.0 API and then refer to these APIs: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to periodically collect accelerometer (e.g., once every 500ms) and gyroscope data for developing a application. I use a timer for sampling, but I found that sampling stops after the screen turns off (The Page Object call onDestroy first, and after a while, the App Object
also executes its‘ onDestroy. When waking up again, it returns to the Home screen). I previously considered using AppService for this, but I found that the timer and gyroscope data are not available. Is there any way to handle this scenario?
Beta Was this translation helpful? Give feedback.
All reactions