Hi
I probably became stupid, but I can not find a way to intercept when a button is pressed on a notification on status bar not created by Automagic.
Trigger when tapping on notification button
Moderator: Martin
Trigger when tapping on notification button
Xiaomi MI 6
Rom Miui 10 EU STABLE
Rom Miui 10 EU STABLE
Re: Trigger when tapping on notification button
AFAIK, there is no such trigger. You can check if the notification exists, and perform click on it. But you can't detect if it is being clicked.
You have to remove the original notification and mirror it using Automagic own notification. Or you need to see what event that the notification produce and use that in trigger UI event. Example, if you tap on notification USB Charging (when plugged to PC), it will pop up new dialog box. This will be detected in UI Event.
You have to remove the original notification and mirror it using Automagic own notification. Or you need to see what event that the notification produce and use that in trigger UI event. Example, if you tap on notification USB Charging (when plugged to PC), it will pop up new dialog box. This will be detected in UI Event.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Trigger when tapping on notification button
thank you for your help
Xiaomi MI 6
Rom Miui 10 EU STABLE
Rom Miui 10 EU STABLE