How can I perform a simple task every X seconds while screen is off on Android 10?

前端 未结 0 1866
醉梦人生
醉梦人生 2021-01-30 03:34

This is just a test for the problem, where the device simply vibrates every 10 seconds.

It has a foreground service and does the task even after the activity is closed.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题