Android 11绕过“仅在使用应用程序时允许”的权限
我正在尝试开发一个可以在后台拍照的应用程序。这个应用程序可以防止手机被盗。如果被盗,手机会发回照片和位置。 我启动了一个 android 服务来接收用户的命令。该服务可以调用android-camera2来拍照。 但我写的应用程序不起作用,只能在使用时允许。一旦Activity进入后台,就无法拍照。我该如何解决这个问题?我可以修改android系统的ROM。那么有什么技巧可以提供吗? 谢谢。
I trying to develop an app that can take photos in the background. This app can prevent mobile phones from being stolen. If be stolen, the phone will send back photos and location.
I started an android service to receive the command from the user. The service can call android-camera2 to take pictures.
But the app I wrote doesn't work that It can only be allowed when it is used. Once the activity enters the background, it can't take photos. How can I solve this problem? I can modify the ROM of the android system. So are there any tips that can be provided?
thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论