Page 1 of 1
Trigger when tapping on notification button
Posted: 20 Nov 2018 08:17
by xpdev
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.
Re: Trigger when tapping on notification button
Posted: 21 Nov 2018 06:20
by Desmanto
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.
Re: Trigger when tapping on notification button
Posted: 22 Nov 2018 10:58
by xpdev
thank you for your help