kaputnikGo / PilferShushJammer

Light Android AOSP application to test microphone jamming techniques to combat Cross-Device Tracking (XDT)
219 stars 25 forks source link

非常好的app,如何实现开机就启动而不是每次都按下按钮 #10

Closed 11fen closed 5 years ago

11fen commented 5 years ago

Turn off every night, turn on the app and press the passive button every time you turn it on. Can you turn on automatically without pressing the passive button? 每天晚上关机,开机后每次都要开启这个app并且按下被动按钮。能不能实现开机就自动运行,而不需要按下那个被动按钮

kaputnikGo commented 5 years ago

Google translate: "Very good app, how to achieve booting instead of pressing the button every time". I do not know what you mean when you say booting. What do you mean?

11fen commented 5 years ago

After the phone is restarted, the microphone is automatically locked without pressing the "passive" button. For example: https://play.google.com/store/apps/details?id=com.ownzordage.chrx.lenscap&hl=en After the phone is restarted, the camera can still be locked unless I unlock it.

手机重启后,自动锁定麦克风,而不需要按下“passive”按钮。 例如:https://play.google.com/store/apps/details?id=com.ownzordage.chrx.lenscap&hl=zh_CN 手机重启后,依旧可以锁定照相机,除非我去解锁。

kaputnikGo commented 5 years ago

The example of the Lenscap app uses a special admin function API to turn off the camera. This function "com.android.settings.DeviceAdminSettings" can be set and it will stay set. More informatio here: https://developer.android.com/guide/topics/admin/device-admin . There is no similar admin function for the microphone. To create something like it would mean making the PilferShush app listen for and automatically load at boot and reset the jammer. That isnt something i want to do at this stage.

11fen commented 5 years ago

Thank you, it feels that this is not very convenient. Press the “passive” button again after each restart of the phone. This application is a daily necessity.

kaputnikGo commented 5 years ago

I understand, however I will put boot listen on the list of possible features to add but cant promise anything at this stage.