Android accessibility service

后端 未结 3 394
日久生厌
日久生厌 2020-12-18 10:01

I\'m trying to write a very basic android accessibility service that shows a message and vibrates when any notification is raised. I\'ve tried testing it by sending an email

3条回答
  •  醉梦人生
    2020-12-18 10:37

    Accessibility Service is overkill for your purposes, you should use NotificationListenerService. The NotificationListenerService is much easier to implement and safer for users (privacy reasons).

提交回复
热议问题