Page 1 of 1

MD module (package of flows)

Posted: 22 Jan 2015 17:21
by TheBrain1984
Like the already published WiFi-module I did the same for mobile data. So after importing the flows and the widget you need to execute the init flow. It initialize the vars global_low, global_set_MD and global_lock_MD. After that you can put the widget on your homescreen. By tapping it, it changes if you have control over the switch of the mobile data or Automagic. If the indicator is green Automagic has it, is it red you have it. The only thing is that you have to replace all your actions where you switch on or off the mobile data by a script-action where you set the var global_set_MD to 1 for on or to 0 for off.
A known issue is that if "officially" Automagic has control and you use manually the default device switch it can be that doesn't work correctly because the module won't switch off mobile data, if it already "thinks" it is switched off. If this could be a normal case for you, you can add a action that executes the flow "Modul: MD" after every script-flow where you touch the var global_set_MD.
Enjoy.

Requirements:
Just run the init flow first

http://automagic4android.com/flow.php?i ... 7de99ca7f0

Re: MD module (package of flows)

Posted: 22 Jan 2015 20:11
by garet
Mobile Data done!!