Enable Safety assistance emergency mode

后端 未结 2 1385
猫巷女王i
猫巷女王i 2021-02-07 23:11

Its a very interesting and new thing for me to implement and learn. There are some requirement of my application. For that I have searched a lot but couldn\'t find proper and va

2条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 23:51

    It's not possible to capture home button event from service. You can capture volume up/down event using BroadcastReceiver when phone is unlocked.

    This looks like nice idea but also not doable in this way.

提交回复
热议问题