Hi
There is a trigger (or a different thing) for when a user
Press a toggle (WiFi,GPS,airplane mode ecc) on pull down window ?
Thanks
Notification Toggle
Moderator: Martin
Notification Toggle
Xiaomi MI 6
Rom Miui 10 EU STABLE
Rom Miui 10 EU STABLE
Re: Notification Toggle
Not really, but there is SYSTEM SETTING CHANGED trigger which is what you want.
Re: Notification Toggle
Hi guys
i'm not able to use in the right way "SYSTEM SETTING CHANGED" to see when user click on
a toggle (WiFi,GPS,airplane mode ecc) on pull down window.
Someone help me ?
I'm on a custom rom KK 4.4.4
Thanks.
i'm not able to use in the right way "SYSTEM SETTING CHANGED" to see when user click on
a toggle (WiFi,GPS,airplane mode ecc) on pull down window.
Someone help me ?
I'm on a custom rom KK 4.4.4
Thanks.
Xiaomi MI 6
Rom Miui 10 EU STABLE
Rom Miui 10 EU STABLE
Re: Notification Toggle
If the trigger doesn't work it's either a bug in the trigger or you're doing it wrong.
Please tell more specifically what doesn't work and what have you tried to do?
Please tell more specifically what doesn't work and what have you tried to do?
Re: Notification Toggle
There are triggers for almost all settings:xpdev wrote:There is a trigger (or a different thing) for when a user
Press a toggle (WiFi,GPS,airplane mode ecc) on pull down window ?
Trigger for Bluetooth:
Bluetooth State
Bluetooth Device Connected
Bluetooth Device Disconnected
Trigger for GPS:
Location Provider State
Trigger for NFC:
NFC State
Trigger for WiFi:
WiFi State
WiFi Connected
WiFi Disconnected
Trigger for Airplane Mode:
Airplane Mode (what else

Take a look here, all available triggers are listed and explained:
http://automagic4android.com/en/help/co ... s-triggers
Re: Notification Toggle
MURTUMA wrote:If the trigger doesn't work it's either a bug in the trigger or you're doing it wrong.
Please tell more specifically what doesn't work and what have you tried to do?
I'm not able to find parameters for "SYSTEM SETTING CHANGED", Category and name.
I need to get user click on Wifi toggle.
Thanks
Xiaomi MI 6
Rom Miui 10 EU STABLE
Rom Miui 10 EU STABLE
Re: Notification Toggle
OK, i have found the way.
For mobile data
trigger "System Setting Changed"
category "Global"
name "mobile_data"
For mobile data
trigger "System Setting Changed"
category "Global"
name "mobile_data"
Xiaomi MI 6
Rom Miui 10 EU STABLE
Rom Miui 10 EU STABLE