Enabled flows list
Moderator: Martin
Enabled flows list
Hi
With this flow you can get the list of enabled or disabled flows with category name And then you can enable or disable the selected flow.group name contains .
At the end of the category value as --------.
Process as below
1.install shortcut to home screen.
2.click on shortcut to start and wait for few seconds.
3.select disabled or enabled flows.
4.if you wish to change the status of the flow change status.
http://automagic4android.com/flow.php?i ... ed73197b90
From record4
With this flow you can get the list of enabled or disabled flows with category name And then you can enable or disable the selected flow.group name contains .
At the end of the category value as --------.
Process as below
1.install shortcut to home screen.
2.click on shortcut to start and wait for few seconds.
3.select disabled or enabled flows.
4.if you wish to change the status of the flow change status.
http://automagic4android.com/flow.php?i ... ed73197b90
From record4
Last edited by Rafi4 on 14 Apr 2020 03:04, edited 2 times in total.
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Enabled flows list
Nice work!
Edit: I just realized you did categories! Wicked job
You inspired me to create a toggle version
http://automagic4android.com/flow.php?i ... 87f43ee398
Edit: I just realized you did categories! Wicked job
You inspired me to create a toggle version
http://automagic4android.com/flow.php?i ... 87f43ee398
Last edited by Yam on 14 Apr 2020 13:09, edited 2 times in total.
Every life altering decision you have made, has lead to you reading this.
Re: Enabled flows list
Hi yam
Before saying something read the flow description first.
I have already mentioned that the flow contains categories, enabled and disabled flows are separated.
How can you say that my flow is wicked job?
from record4
Before saying something read the flow description first.
I have already mentioned that the flow contains categories, enabled and disabled flows are separated.
How can you say that my flow is wicked job?
from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Enabled flows list
My bad. I misread an important word.
"Wicked job" = "Awesome Job"
"Wicked job" = "Awesome Job"
Every life altering decision you have made, has lead to you reading this.
Re: Enabled flows list
@Rafi4 : I also read that "wicked job" as "awesome" or "outstanding". Maybe I play game too much
@Yam : to get the list of all flow state, there is a faster way. cat the flows.xml file and use regex to read all the flow state.
Execute command
I use execute command, as my flows.xml is bigger than 1 MB (init variable text file limits at 1 MB).
Use script
Use debug dialog to inspect {find}. The state is stored at the find[3], which you can loop to extract it out. You don't need the whole regex, it is just part of my flow, so I just paste it here for completeness.
@Yam : to get the list of all flow state, there is a faster way. cat the flows.xml file and use regex to read all the flow state.
Execute command
Code: Select all
cat /storage/emulated/0/Automagic/flows.xml
Use script
Code: Select all
findex = indexOf(stdout, " <flow type=");
ftext = substring(stdout, findex);
//the long regex for flow
find = findAll(ftext, ' <flow type="flow">\\r\\n <name>(.*)</name>\\r\\n(?: <group>(.*)</group>\\r\\n)? <enabled>(true|false)</enabled>\\r\\n <lastExecutionStartTime>(\\d+)</lastExecutionStartTime>\\r\\n <lastExecutionEndTime>(\\d+)</lastExecutionEndTime>\\r\\n <executionPolicy>(.*)</executionPolicy>\\r\\n(?: <emergencyStopCount>(\\d+)</emergencyStopCount>)?', true);
//find is = all capture, flow name, group, enabled state, last execution start time, end time, execution policy, emergency stop.
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: Enabled flows list
Hi Desmanto
Amazing . I have missed some of my flows in the find list.
How can I get all of them? One more thing the xml file bigger than 1 m.b.
Are you getting all of your complete flows in find list?
from record4
Amazing . I have missed some of my flows in the find list.
How can I get all of them? One more thing the xml file bigger than 1 m.b.
Are you getting all of your complete flows in find list?
from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Enabled flows list
Yes, i get all my 300 flows, in a 3 MB flows.xml.
I think the regex might break if you have some non standard alphabet letter in the naming. Do all the flows those disappear have some pattern you can spot? I might need to change the regex to fit those. Maybe you can post some of those flows name, I will try to rename my flow to those and see if those disappear too.
I think the regex might break if you have some non standard alphabet letter in the naming. Do all the flows those disappear have some pattern you can spot? I might need to change the regex to fit those. Maybe you can post some of those flows name, I will try to rename my flow to those and see if those disappear too.
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: Enabled flows list
Hi Desmanto
Here are all flows
Active flows, Apps start, Apps Usage, Apps widget flow, Argb Colour, Argb Colour copy, Audio volume, Auto off, Automagic Startup, Automatgic notification, Backup, Battery, Battery condition, Battery duration, Battery full, Bluetooth profile, Bottom, Broadcast Receive, Broadcast Send, Calculator, Call incoming, Call Recording end, Call Recording start, Calls Export, Calls logging, Calls options, Clipboard options, Combine Images, Count device, Count file, Counts Add, Counts delete, COVID-19 Tracker v2.0, Create lists, Display off, Display off global, Display on, Display Timeout, Display unlocked, Enable disable text expansion, Enabled flows, Events Completed, Events notify, Events notify Delete, Events Options, Expansion state, Fake call, Fav calls, File Observer Text expansion, Files options, Flash light, Flow search, Flow1, Flow2, Flow3, Flow4, Game, Game reminder, global_values, Hide control, Keyboard, Keys view, Locked widget, Media volume, Mega clipboard, Memo, message create, Missed Calls Dialer, Missed Calls list, Mobile Data alert, Mobile data , Multi Flows, Multi Press(), Multi state, My expansion, My Expansion click, New apps, Notes, Notification buttons, Notify home, Password, Porn videos, Poweroff, Privacy Photos, Privacy voice, Rename files, Scan Device, Security, Selfies, Set wallpaper, Shared content, Shop, Skip ads, Sms options, Text expansion, Text expansion app started, Text expansion hide widget, Text expansion startup, Text expansion timeout timer, Text expansion widget click, Toggle Expansion, Toggle Proximity, Tools widget, Unsplash, Update Text Expansion File, Video play, Voice typing, wall paper, Widget display, YouTube [480p]
from record4
Here are all flows
Active flows, Apps start, Apps Usage, Apps widget flow, Argb Colour, Argb Colour copy, Audio volume, Auto off, Automagic Startup, Automatgic notification, Backup, Battery, Battery condition, Battery duration, Battery full, Bluetooth profile, Bottom, Broadcast Receive, Broadcast Send, Calculator, Call incoming, Call Recording end, Call Recording start, Calls Export, Calls logging, Calls options, Clipboard options, Combine Images, Count device, Count file, Counts Add, Counts delete, COVID-19 Tracker v2.0, Create lists, Display off, Display off global, Display on, Display Timeout, Display unlocked, Enable disable text expansion, Enabled flows, Events Completed, Events notify, Events notify Delete, Events Options, Expansion state, Fake call, Fav calls, File Observer Text expansion, Files options, Flash light, Flow search, Flow1, Flow2, Flow3, Flow4, Game, Game reminder, global_values, Hide control, Keyboard, Keys view, Locked widget, Media volume, Mega clipboard, Memo, message create, Missed Calls Dialer, Missed Calls list, Mobile Data alert, Mobile data , Multi Flows, Multi Press(), Multi state, My expansion, My Expansion click, New apps, Notes, Notification buttons, Notify home, Password, Porn videos, Poweroff, Privacy Photos, Privacy voice, Rename files, Scan Device, Security, Selfies, Set wallpaper, Shared content, Shop, Skip ads, Sms options, Text expansion, Text expansion app started, Text expansion hide widget, Text expansion startup, Text expansion timeout timer, Text expansion widget click, Toggle Expansion, Toggle Proximity, Tools widget, Unsplash, Update Text Expansion File, Video play, Voice typing, wall paper, Widget display, YouTube [480p]
from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Enabled flows list
@Rafi4 : You have emoji in the flow name. I have tried to rename it with some emoji, the flow name still parsed properly by the regex. What is the flow name those disappear from the above list? Try to check the index or the length of the flow list, and compare it to function getFlowNames().
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: Enabled flows list
Hi Desmanto
I don't have problem with emojis.
from record4
I don't have problem with emojis.
from record4
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1