Run a service with Root privileges or adding permissions with root

后端 未结 7 974
Happy的楠姐
Happy的楠姐 2021-02-05 16:12

I am currently developing an app that reads out SMS/Emails while driving. Many users wished support for WhatsApp / KakaoTalk.

However, as there is no \"official\" way to

7条回答
  •  失恋的感觉
    2021-02-05 17:09

    running something as root is not the right way of solving this.

    instead, consider an accessibility service that can watch for new notifications:

    AccessibilityEvent

提交回复
热议问题