mobile datanetwork trigger

Post your questions and help other users.

Moderator: Martin

Post Reply
Akt
Posts: 133
Joined: 25 May 2014 08:57

mobile datanetwork trigger

Post by Akt » 13 Sep 2014 02:26

Is there any trigger for mobile datanetwork??
Actually i want to perform an action when i switch on mobile datanetwork....

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: mobile datanetwork trigger

Post by Martin » 13 Sep 2014 07:56

There's no such trigger and I think there's no official way to detect this change.
However you could use a trigger System Setting Changed with category Global and name mobile_data to see if the setting is changed (value 1 means on, 0 means off). You can use a condition Expression: setting==1 to differentiate between the on/off case.

It depends on Android version if this actually works. On older Android versions the setting might have a different name or might not be available at all.

Post Reply