Enable Safety assistance emergency mode

后端 未结 2 1423
猫巷女王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:44

    I guess this is not a simple task, since the trigger is a keypress of vol+ and vol- for three seconds (if I remember correctly). I'm not sure if it is possible to hook those keys from a service (since this would a keylogger also do). However if you got this managed you just need to enable GPS by code. When done you just need to get the users position.

    The next step is to let the user select some contacts where the data should been send. That should been the easest part. The next step is to make some photos and record some audio and send those data per mms to the desired persons.

提交回复
热议问题