+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EDIT: These flows are only for the old google play services and will not work with the new google play services v6.x
Please update to my new flows : location control v2.0
viewtopic.php?f=3&t=3480
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
EDIT: You need root access to get this working.
EDIT: flows are available in german (=locationcontrol.xml) and english(=... english.xml) !
I don't want to let the network location, gps and Wifi (if not connected to wlan) activated all the time but only when a app needs this, e.g. Google maps.
So here are my flows for this.
When you open a gps app like maps, the flows will activate the network location, wifi and gps. The location consent will be agreed automatically.
When you close the app then gps, wifi (if not connected to wlan) and network location will be disabled after 10 seconds.
You have to activate all flows. They are in german and english available.
When you have the xposed framework installed, I recommend the module "disable Google network location consent" in Version 1.1 (not 1.2). With this activated module you don't need to activate the flow "location consent" ("Standorterfassung Zustimmung").
Location control: switch on/off network location+GPS+WLAN
Moderator: Martin
Location control: switch on/off network location+GPS+WLAN
- Attachments
-
- flow_group_Location_control_english.xml
- (14.04 KiB) Downloaded 1346 times
-
- locationcontrol.xml
- (14.39 KiB) Downloaded 1291 times
Last edited by rokahaal on 29 Sep 2014 23:24, edited 3 times in total.
Re: Location control: switch on/off network location+GPS+WLA
Hi I'm not sure if this is where I post this, but I'm getting errors on my sg3 4.4.2 non rooted. Does this require root? I'd really love to have this working, I just installed automagic yesterday, so very very new at this.
Here's the log18.07.2014 08:45:10.959 Logging initialised
18.07.2014 08:45:11.255 Loading flows
18.07.2014 08:45:11.358 1.23.0 Loading data
18.07.2014 08:45:11.362 XML version = 1.23.0
18.07.2014 08:45:11.801 Flows successfully loaded
18.07.2014 08:45:11.803 Loading widgets
18.07.2014 08:45:11.806 1.23.0 Loading data
18.07.2014 08:45:11.807 XML version = 1.23.0
18.07.2014 08:45:11.808 Widgets successfully loaded
18.07.2014 11:17:08.763 Trigger 'Display State: Off' going to execute flows
18.07.2014 11:17:08.770 [Display off: switch off GPS] Starting to execute flow 'Display off: switch off GPS' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display off: switch off GPS,trigger='Display State: Off',triggertime=1405703828760}}
18.07.2014 11:17:08.773 [Display off: switch off GPS] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:17:08.781 [Display off: switch off GPS] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:17:08.801 [Display off: switch off GPS] Flow ended.
18.07.2014 11:21:36.313 Trigger 'Display State: On' going to execute flows
18.07.2014 11:21:36.348 [Display on: Check GPS WLAN off] Starting to execute flow 'Display on: Check GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display on: Check GPS WLAN off,trigger='Display State: On',triggertime=1405704096313}}
18.07.2014 11:21:36.379 [Display on: Check GPS WLAN off] Start executing condition 'Flow Executing: GPS WLAN off'
18.07.2014 11:21:36.383 [Display on: Check GPS WLAN off] End executing condition 'Flow Executing: GPS WLAN off' with return value false
18.07.2014 11:21:36.405 [Display on: Check GPS WLAN off] Flow continues executing with the next step.
18.07.2014 11:21:36.425 [Display on: Check GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:21:36.430 [Display on: Check GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:21:36.431 [Display on: Check GPS WLAN off] Flow ended.
18.07.2014 11:22:14.438 Trigger 'Display State: Off' going to execute flows
18.07.2014 11:22:14.446 [Display off: switch off GPS] Starting to execute flow 'Display off: switch off GPS' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display off: switch off GPS,trigger='Display State: Off',triggertime=1405704134438}}
18.07.2014 11:22:14.447 [Display off: switch off GPS] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:22:14.453 [Display off: switch off GPS] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:22:14.457 [Display off: switch off GPS] Flow ended.
18.07.2014 11:26:09.413 Trigger 'Display State: On' going to execute flows
18.07.2014 11:26:09.468 [Display on: Check GPS WLAN off] Starting to execute flow 'Display on: Check GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display on: Check GPS WLAN off,trigger='Display State: On',triggertime=1405704369413}}
18.07.2014 11:26:09.469 [Display on: Check GPS WLAN off] Start executing condition 'Flow Executing: GPS WLAN off'
18.07.2014 11:26:09.470 [Display on: Check GPS WLAN off] End executing condition 'Flow Executing: GPS WLAN off' with return value false
18.07.2014 11:26:09.488 [Display on: Check GPS WLAN off] Flow continues executing with the next step.
18.07.2014 11:26:09.489 [Display on: Check GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:26:09.492 [Display on: Check GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:26:09.504 [Display on: Check GPS WLAN off] Flow ended.
18.07.2014 11:26:55.854 Trigger 'GPS App on' going to execute flows
18.07.2014 11:26:55.858 [GPS WLAN on] Starting to execute flow 'GPS WLAN on' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{package_name=com.google.android.apps.maps,flow_name=GPS WLAN on,trigger='GPS App on',triggertime=1405704415825,app_name=Maps}}
18.07.2014 11:26:55.860 [GPS WLAN on] Start executing action 'Stop Flows: GPS WLAN off'
18.07.2014 11:26:55.866 [GPS WLAN on] End executing action 'Stop Flows: GPS WLAN off'
18.07.2014 11:26:55.881 [GPS WLAN on] Start executing action 'Set GPS State: On'
18.07.2014 11:26:55.884 [GPS WLAN on] Action 'Set GPS State: On' enable = true
18.07.2014 11:26:55.885 [GPS WLAN on] End executing action 'Set GPS State: On' and exception Root functions must be enabled in the preferences
18.07.2014 11:26:55.886 [GPS WLAN on] Start executing condition 'WiFi State: Enabling, Enabled'
18.07.2014 11:26:55.907 [GPS WLAN on] End executing condition 'WiFi State: Enabling, Enabled' with return value true
18.07.2014 11:26:55.908 [GPS WLAN on] Start executing action 'Set Network Location State: On'
18.07.2014 11:26:55.913 [GPS WLAN on] End executing action 'Set Network Location State: On' and exception Root functions must be enabled in the preferences
18.07.2014 11:26:55.925 [GPS WLAN on] Start executing action 'Execute Flows: Location consent'
18.07.2014 11:26:55.930 [GPS WLAN on] End executing action 'Execute Flows: Location consent'
18.07.2014 11:26:55.939 [Location consent] Starting to execute flow 'Location consent' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{trigger='GPS App on',flow_count=1,wifi_state=3,package_name=com.google.android.apps.maps,triggertime=1405704415825,flow_name=Location consent,app_name=Maps}}
18.07.2014 11:26:55.950 [Location consent] Start executing action 'Control UI: sleep(2500);click("Agree");'
18.07.2014 11:26:55.975 [GPS WLAN on] Flow ends execution due to errors
18.07.2014 11:26:55.976 [GPS WLAN on] Error:
ch.gridvision.ppam.androidautomagic.util.q: Root functions must be enabled in the preferences
at ch.gridvision.ppam.androidautomagic.d.a.eg.a(SourceFile:80)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:582)
at ch.gridvision.ppam.androidautomagic.d.c.e.b(SourceFile:551)
at ch.gridvision.ppam.androidautomagic.d.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:514)
at ch.gridvision.ppam.androidautomagic.d.d.b.a(SourceFile:166)
at ch.gridvision.ppam.androidautomagic.d.d.l.a(SourceFile:137)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1093)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1042)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1012)
at ch.gridvision.ppam.androidautomagic.service.j$1$1.run(SourceFile:57)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
18.07.2014 11:26:56.344 [GPS WLAN on] Error:
ch.gridvision.ppam.androidautomagic.util.q: Root functions must be enabled in the preferences
at ch.gridvision.ppam.androidautomagic.d.a.eq.a(SourceFile:75)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:582)
at ch.gridvision.ppam.androidautomagic.d.c.e.b(SourceFile:551)
at ch.gridvision.ppam.androidautomagic.d.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:514)
at ch.gridvision.ppam.androidautomagic.d.d.b.a(SourceFile:166)
at ch.gridvision.ppam.androidautomagic.d.d.l.a(SourceFile:137)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1093)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1042)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1012)
at ch.gridvision.ppam.androidautomagic.service.j$1$1.run(SourceFile:57)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
18.07.2014 11:26:56.447 [GPS WLAN on] Flow ended.
18.07.2014 11:26:56.543 [Location consent] Action 'Control UI: sleep(2500);click("Agree");'
ch.gridvision.ppam.androidautomagic.simplelang.a.d: AccessibilityService is not available
at ch.gridvision.ppam.androidautomagic.simplelang.a.m.a(SourceFile:372)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:659)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ae.b(SourceFile:49)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:95)
at ch.gridvision.ppam.androidautomagic.simplelang.c.t.b(SourceFile:22)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:675)
at ch.gridvision.ppam.androidautomagic.simplelang.c.v.b(SourceFile:42)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:102)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ai.b(SourceFile:33)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.c(SourceFile:171)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.a(SourceFile:153)
at ch.gridvision.ppam.androidautomagic.util.gj$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:841)
18.07.2014 11:26:56.561 [Location consent] End executing action 'Control UI: sleep(2500);click("Agree");' and exception AccessibilityService is not available
18.07.2014 11:26:56.562 [Location consent] Flow ends execution due to errors
18.07.2014 11:26:56.562 [Location consent] Error:
ch.gridvision.ppam.androidautomagic.simplelang.a.d: AccessibilityService is not available
at ch.gridvision.ppam.androidautomagic.simplelang.a.m.a(SourceFile:372)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:659)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ae.b(SourceFile:49)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:95)
at ch.gridvision.ppam.androidautomagic.simplelang.c.t.b(SourceFile:22)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:675)
at ch.gridvision.ppam.androidautomagic.simplelang.c.v.b(SourceFile:42)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:102)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ai.b(SourceFile:33)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.c(SourceFile:171)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.a(SourceFile:153)
at ch.gridvision.ppam.androidautomagic.util.gj$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:841)
18.07.2014 11:26:56.638 [Location consent] Flow ended.
18.07.2014 11:27:05.875 Trigger 'GPS App off' going to execute flows
18.07.2014 11:27:05.877 [GPS WLAN off] Starting to execute flow 'GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{package_name=com.google.android.apps.maps,flow_name=GPS WLAN off,trigger='GPS App off',triggertime=1405704425871,app_name=Maps}}
18.07.2014 11:27:05.878 [GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:27:05.880 [GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:27:05.914 [GPS WLAN off] Flow ended.
Here's the log18.07.2014 08:45:10.959 Logging initialised
18.07.2014 08:45:11.255 Loading flows
18.07.2014 08:45:11.358 1.23.0 Loading data
18.07.2014 08:45:11.362 XML version = 1.23.0
18.07.2014 08:45:11.801 Flows successfully loaded
18.07.2014 08:45:11.803 Loading widgets
18.07.2014 08:45:11.806 1.23.0 Loading data
18.07.2014 08:45:11.807 XML version = 1.23.0
18.07.2014 08:45:11.808 Widgets successfully loaded
18.07.2014 11:17:08.763 Trigger 'Display State: Off' going to execute flows
18.07.2014 11:17:08.770 [Display off: switch off GPS] Starting to execute flow 'Display off: switch off GPS' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display off: switch off GPS,trigger='Display State: Off',triggertime=1405703828760}}
18.07.2014 11:17:08.773 [Display off: switch off GPS] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:17:08.781 [Display off: switch off GPS] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:17:08.801 [Display off: switch off GPS] Flow ended.
18.07.2014 11:21:36.313 Trigger 'Display State: On' going to execute flows
18.07.2014 11:21:36.348 [Display on: Check GPS WLAN off] Starting to execute flow 'Display on: Check GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display on: Check GPS WLAN off,trigger='Display State: On',triggertime=1405704096313}}
18.07.2014 11:21:36.379 [Display on: Check GPS WLAN off] Start executing condition 'Flow Executing: GPS WLAN off'
18.07.2014 11:21:36.383 [Display on: Check GPS WLAN off] End executing condition 'Flow Executing: GPS WLAN off' with return value false
18.07.2014 11:21:36.405 [Display on: Check GPS WLAN off] Flow continues executing with the next step.
18.07.2014 11:21:36.425 [Display on: Check GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:21:36.430 [Display on: Check GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:21:36.431 [Display on: Check GPS WLAN off] Flow ended.
18.07.2014 11:22:14.438 Trigger 'Display State: Off' going to execute flows
18.07.2014 11:22:14.446 [Display off: switch off GPS] Starting to execute flow 'Display off: switch off GPS' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display off: switch off GPS,trigger='Display State: Off',triggertime=1405704134438}}
18.07.2014 11:22:14.447 [Display off: switch off GPS] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:22:14.453 [Display off: switch off GPS] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:22:14.457 [Display off: switch off GPS] Flow ended.
18.07.2014 11:26:09.413 Trigger 'Display State: On' going to execute flows
18.07.2014 11:26:09.468 [Display on: Check GPS WLAN off] Starting to execute flow 'Display on: Check GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display on: Check GPS WLAN off,trigger='Display State: On',triggertime=1405704369413}}
18.07.2014 11:26:09.469 [Display on: Check GPS WLAN off] Start executing condition 'Flow Executing: GPS WLAN off'
18.07.2014 11:26:09.470 [Display on: Check GPS WLAN off] End executing condition 'Flow Executing: GPS WLAN off' with return value false
18.07.2014 11:26:09.488 [Display on: Check GPS WLAN off] Flow continues executing with the next step.
18.07.2014 11:26:09.489 [Display on: Check GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:26:09.492 [Display on: Check GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:26:09.504 [Display on: Check GPS WLAN off] Flow ended.
18.07.2014 11:26:55.854 Trigger 'GPS App on' going to execute flows
18.07.2014 11:26:55.858 [GPS WLAN on] Starting to execute flow 'GPS WLAN on' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{package_name=com.google.android.apps.maps,flow_name=GPS WLAN on,trigger='GPS App on',triggertime=1405704415825,app_name=Maps}}
18.07.2014 11:26:55.860 [GPS WLAN on] Start executing action 'Stop Flows: GPS WLAN off'
18.07.2014 11:26:55.866 [GPS WLAN on] End executing action 'Stop Flows: GPS WLAN off'
18.07.2014 11:26:55.881 [GPS WLAN on] Start executing action 'Set GPS State: On'
18.07.2014 11:26:55.884 [GPS WLAN on] Action 'Set GPS State: On' enable = true
18.07.2014 11:26:55.885 [GPS WLAN on] End executing action 'Set GPS State: On' and exception Root functions must be enabled in the preferences
18.07.2014 11:26:55.886 [GPS WLAN on] Start executing condition 'WiFi State: Enabling, Enabled'
18.07.2014 11:26:55.907 [GPS WLAN on] End executing condition 'WiFi State: Enabling, Enabled' with return value true
18.07.2014 11:26:55.908 [GPS WLAN on] Start executing action 'Set Network Location State: On'
18.07.2014 11:26:55.913 [GPS WLAN on] End executing action 'Set Network Location State: On' and exception Root functions must be enabled in the preferences
18.07.2014 11:26:55.925 [GPS WLAN on] Start executing action 'Execute Flows: Location consent'
18.07.2014 11:26:55.930 [GPS WLAN on] End executing action 'Execute Flows: Location consent'
18.07.2014 11:26:55.939 [Location consent] Starting to execute flow 'Location consent' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{trigger='GPS App on',flow_count=1,wifi_state=3,package_name=com.google.android.apps.maps,triggertime=1405704415825,flow_name=Location consent,app_name=Maps}}
18.07.2014 11:26:55.950 [Location consent] Start executing action 'Control UI: sleep(2500);click("Agree");'
18.07.2014 11:26:55.975 [GPS WLAN on] Flow ends execution due to errors
18.07.2014 11:26:55.976 [GPS WLAN on] Error:
ch.gridvision.ppam.androidautomagic.util.q: Root functions must be enabled in the preferences
at ch.gridvision.ppam.androidautomagic.d.a.eg.a(SourceFile:80)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:582)
at ch.gridvision.ppam.androidautomagic.d.c.e.b(SourceFile:551)
at ch.gridvision.ppam.androidautomagic.d.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:514)
at ch.gridvision.ppam.androidautomagic.d.d.b.a(SourceFile:166)
at ch.gridvision.ppam.androidautomagic.d.d.l.a(SourceFile:137)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1093)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1042)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1012)
at ch.gridvision.ppam.androidautomagic.service.j$1$1.run(SourceFile:57)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
18.07.2014 11:26:56.344 [GPS WLAN on] Error:
ch.gridvision.ppam.androidautomagic.util.q: Root functions must be enabled in the preferences
at ch.gridvision.ppam.androidautomagic.d.a.eq.a(SourceFile:75)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:582)
at ch.gridvision.ppam.androidautomagic.d.c.e.b(SourceFile:551)
at ch.gridvision.ppam.androidautomagic.d.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:514)
at ch.gridvision.ppam.androidautomagic.d.d.b.a(SourceFile:166)
at ch.gridvision.ppam.androidautomagic.d.d.l.a(SourceFile:137)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1093)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1042)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1012)
at ch.gridvision.ppam.androidautomagic.service.j$1$1.run(SourceFile:57)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
18.07.2014 11:26:56.447 [GPS WLAN on] Flow ended.
18.07.2014 11:26:56.543 [Location consent] Action 'Control UI: sleep(2500);click("Agree");'
ch.gridvision.ppam.androidautomagic.simplelang.a.d: AccessibilityService is not available
at ch.gridvision.ppam.androidautomagic.simplelang.a.m.a(SourceFile:372)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:659)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ae.b(SourceFile:49)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:95)
at ch.gridvision.ppam.androidautomagic.simplelang.c.t.b(SourceFile:22)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:675)
at ch.gridvision.ppam.androidautomagic.simplelang.c.v.b(SourceFile:42)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:102)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ai.b(SourceFile:33)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.c(SourceFile:171)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.a(SourceFile:153)
at ch.gridvision.ppam.androidautomagic.util.gj$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:841)
18.07.2014 11:26:56.561 [Location consent] End executing action 'Control UI: sleep(2500);click("Agree");' and exception AccessibilityService is not available
18.07.2014 11:26:56.562 [Location consent] Flow ends execution due to errors
18.07.2014 11:26:56.562 [Location consent] Error:
ch.gridvision.ppam.androidautomagic.simplelang.a.d: AccessibilityService is not available
at ch.gridvision.ppam.androidautomagic.simplelang.a.m.a(SourceFile:372)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:659)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ae.b(SourceFile:49)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:95)
at ch.gridvision.ppam.androidautomagic.simplelang.c.t.b(SourceFile:22)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:675)
at ch.gridvision.ppam.androidautomagic.simplelang.c.v.b(SourceFile:42)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:102)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ai.b(SourceFile:33)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.c(SourceFile:171)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.a(SourceFile:153)
at ch.gridvision.ppam.androidautomagic.util.gj$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:841)
18.07.2014 11:26:56.638 [Location consent] Flow ended.
18.07.2014 11:27:05.875 Trigger 'GPS App off' going to execute flows
18.07.2014 11:27:05.877 [GPS WLAN off] Starting to execute flow 'GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{package_name=com.google.android.apps.maps,flow_name=GPS WLAN off,trigger='GPS App off',triggertime=1405704425871,app_name=Maps}}
18.07.2014 11:27:05.878 [GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:27:05.880 [GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:27:05.914 [GPS WLAN off] Flow ended.
Re: Location control: switch on/off network location+GPS+WLA
The flows will only work with root access. Sorry.Brownstar wrote:Hi I'm not sure if this is where I post this, but I'm getting errors on my sg3 4.4.2 non rooted. Does this require root? I'd really love to have this working, I just installed automagic yesterday, so very very new at this.
Here's the log18.07.2014 08:45:10.959 Logging initialised
18.07.2014 08:45:11.255 Loading flows
18.07.2014 08:45:11.358 1.23.0 Loading data
18.07.2014 08:45:11.362 XML version = 1.23.0
18.07.2014 08:45:11.801 Flows successfully loaded
18.07.2014 08:45:11.803 Loading widgets
18.07.2014 08:45:11.806 1.23.0 Loading data
18.07.2014 08:45:11.807 XML version = 1.23.0
18.07.2014 08:45:11.808 Widgets successfully loaded
18.07.2014 11:17:08.763 Trigger 'Display State: Off' going to execute flows
18.07.2014 11:17:08.770 [Display off: switch off GPS] Starting to execute flow 'Display off: switch off GPS' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display off: switch off GPS,trigger='Display State: Off',triggertime=1405703828760}}
18.07.2014 11:17:08.773 [Display off: switch off GPS] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:17:08.781 [Display off: switch off GPS] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:17:08.801 [Display off: switch off GPS] Flow ended.
18.07.2014 11:21:36.313 Trigger 'Display State: On' going to execute flows
18.07.2014 11:21:36.348 [Display on: Check GPS WLAN off] Starting to execute flow 'Display on: Check GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display on: Check GPS WLAN off,trigger='Display State: On',triggertime=1405704096313}}
18.07.2014 11:21:36.379 [Display on: Check GPS WLAN off] Start executing condition 'Flow Executing: GPS WLAN off'
18.07.2014 11:21:36.383 [Display on: Check GPS WLAN off] End executing condition 'Flow Executing: GPS WLAN off' with return value false
18.07.2014 11:21:36.405 [Display on: Check GPS WLAN off] Flow continues executing with the next step.
18.07.2014 11:21:36.425 [Display on: Check GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:21:36.430 [Display on: Check GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:21:36.431 [Display on: Check GPS WLAN off] Flow ended.
18.07.2014 11:22:14.438 Trigger 'Display State: Off' going to execute flows
18.07.2014 11:22:14.446 [Display off: switch off GPS] Starting to execute flow 'Display off: switch off GPS' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display off: switch off GPS,trigger='Display State: Off',triggertime=1405704134438}}
18.07.2014 11:22:14.447 [Display off: switch off GPS] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:22:14.453 [Display off: switch off GPS] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:22:14.457 [Display off: switch off GPS] Flow ended.
18.07.2014 11:26:09.413 Trigger 'Display State: On' going to execute flows
18.07.2014 11:26:09.468 [Display on: Check GPS WLAN off] Starting to execute flow 'Display on: Check GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{flow_name=Display on: Check GPS WLAN off,trigger='Display State: On',triggertime=1405704369413}}
18.07.2014 11:26:09.469 [Display on: Check GPS WLAN off] Start executing condition 'Flow Executing: GPS WLAN off'
18.07.2014 11:26:09.470 [Display on: Check GPS WLAN off] End executing condition 'Flow Executing: GPS WLAN off' with return value false
18.07.2014 11:26:09.488 [Display on: Check GPS WLAN off] Flow continues executing with the next step.
18.07.2014 11:26:09.489 [Display on: Check GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:26:09.492 [Display on: Check GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:26:09.504 [Display on: Check GPS WLAN off] Flow ended.
18.07.2014 11:26:55.854 Trigger 'GPS App on' going to execute flows
18.07.2014 11:26:55.858 [GPS WLAN on] Starting to execute flow 'GPS WLAN on' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{package_name=com.google.android.apps.maps,flow_name=GPS WLAN on,trigger='GPS App on',triggertime=1405704415825,app_name=Maps}}
18.07.2014 11:26:55.860 [GPS WLAN on] Start executing action 'Stop Flows: GPS WLAN off'
18.07.2014 11:26:55.866 [GPS WLAN on] End executing action 'Stop Flows: GPS WLAN off'
18.07.2014 11:26:55.881 [GPS WLAN on] Start executing action 'Set GPS State: On'
18.07.2014 11:26:55.884 [GPS WLAN on] Action 'Set GPS State: On' enable = true
18.07.2014 11:26:55.885 [GPS WLAN on] End executing action 'Set GPS State: On' and exception Root functions must be enabled in the preferences
18.07.2014 11:26:55.886 [GPS WLAN on] Start executing condition 'WiFi State: Enabling, Enabled'
18.07.2014 11:26:55.907 [GPS WLAN on] End executing condition 'WiFi State: Enabling, Enabled' with return value true
18.07.2014 11:26:55.908 [GPS WLAN on] Start executing action 'Set Network Location State: On'
18.07.2014 11:26:55.913 [GPS WLAN on] End executing action 'Set Network Location State: On' and exception Root functions must be enabled in the preferences
18.07.2014 11:26:55.925 [GPS WLAN on] Start executing action 'Execute Flows: Location consent'
18.07.2014 11:26:55.930 [GPS WLAN on] End executing action 'Execute Flows: Location consent'
18.07.2014 11:26:55.939 [Location consent] Starting to execute flow 'Location consent' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{trigger='GPS App on',flow_count=1,wifi_state=3,package_name=com.google.android.apps.maps,triggertime=1405704415825,flow_name=Location consent,app_name=Maps}}
18.07.2014 11:26:55.950 [Location consent] Start executing action 'Control UI: sleep(2500);click("Agree");'
18.07.2014 11:26:55.975 [GPS WLAN on] Flow ends execution due to errors
18.07.2014 11:26:55.976 [GPS WLAN on] Error:
ch.gridvision.ppam.androidautomagic.util.q: Root functions must be enabled in the preferences
at ch.gridvision.ppam.androidautomagic.d.a.eg.a(SourceFile:80)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:582)
at ch.gridvision.ppam.androidautomagic.d.c.e.b(SourceFile:551)
at ch.gridvision.ppam.androidautomagic.d.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:514)
at ch.gridvision.ppam.androidautomagic.d.d.b.a(SourceFile:166)
at ch.gridvision.ppam.androidautomagic.d.d.l.a(SourceFile:137)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1093)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1042)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1012)
at ch.gridvision.ppam.androidautomagic.service.j$1$1.run(SourceFile:57)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
18.07.2014 11:26:56.344 [GPS WLAN on] Error:
ch.gridvision.ppam.androidautomagic.util.q: Root functions must be enabled in the preferences
at ch.gridvision.ppam.androidautomagic.d.a.eq.a(SourceFile:75)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:582)
at ch.gridvision.ppam.androidautomagic.d.c.e.b(SourceFile:551)
at ch.gridvision.ppam.androidautomagic.d.c.o.a(SourceFile:58)
at ch.gridvision.ppam.androidautomagic.d.c.e.a(SourceFile:514)
at ch.gridvision.ppam.androidautomagic.d.d.b.a(SourceFile:166)
at ch.gridvision.ppam.androidautomagic.d.d.l.a(SourceFile:137)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1093)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1042)
at ch.gridvision.ppam.androidautomagic.service.ActionManagerService.a(SourceFile:1012)
at ch.gridvision.ppam.androidautomagic.service.j$1$1.run(SourceFile:57)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5487)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
18.07.2014 11:26:56.447 [GPS WLAN on] Flow ended.
18.07.2014 11:26:56.543 [Location consent] Action 'Control UI: sleep(2500);click("Agree");'
ch.gridvision.ppam.androidautomagic.simplelang.a.d: AccessibilityService is not available
at ch.gridvision.ppam.androidautomagic.simplelang.a.m.a(SourceFile:372)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:659)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ae.b(SourceFile:49)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:95)
at ch.gridvision.ppam.androidautomagic.simplelang.c.t.b(SourceFile:22)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:675)
at ch.gridvision.ppam.androidautomagic.simplelang.c.v.b(SourceFile:42)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:102)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ai.b(SourceFile:33)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.c(SourceFile:171)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.a(SourceFile:153)
at ch.gridvision.ppam.androidautomagic.util.gj$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:841)
18.07.2014 11:26:56.561 [Location consent] End executing action 'Control UI: sleep(2500);click("Agree");' and exception AccessibilityService is not available
18.07.2014 11:26:56.562 [Location consent] Flow ends execution due to errors
18.07.2014 11:26:56.562 [Location consent] Error:
ch.gridvision.ppam.androidautomagic.simplelang.a.d: AccessibilityService is not available
at ch.gridvision.ppam.androidautomagic.simplelang.a.m.a(SourceFile:372)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:659)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ae.b(SourceFile:49)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:95)
at ch.gridvision.ppam.androidautomagic.simplelang.c.t.b(SourceFile:22)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:675)
at ch.gridvision.ppam.androidautomagic.simplelang.c.v.b(SourceFile:42)
at ch.gridvision.ppam.androidautomagic.simplelang.c.b.a(SourceFile:40)
at ch.gridvision.ppam.androidautomagic.simplelang.a.b.a(SourceFile:102)
at ch.gridvision.ppam.androidautomagic.simplelang.c.ai.b(SourceFile:33)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.c(SourceFile:171)
at ch.gridvision.ppam.androidautomagic.d.a.r$1.a(SourceFile:153)
at ch.gridvision.ppam.androidautomagic.util.gj$1.run(SourceFile:39)
at java.lang.Thread.run(Thread.java:841)
18.07.2014 11:26:56.638 [Location consent] Flow ended.
18.07.2014 11:27:05.875 Trigger 'GPS App off' going to execute flows
18.07.2014 11:27:05.877 [GPS WLAN off] Starting to execute flow 'GPS WLAN off' with Context{global{global_gps=0,global_wifi=0,global_data=0},local{package_name=com.google.android.apps.maps,flow_name=GPS WLAN off,trigger='GPS App off',triggertime=1405704425871,app_name=Maps}}
18.07.2014 11:27:05.878 [GPS WLAN off] Start executing condition 'Location Provider Enabled: Network'
18.07.2014 11:27:05.880 [GPS WLAN off] End executing condition 'Location Provider Enabled: Network' with return value false
18.07.2014 11:27:05.914 [GPS WLAN off] Flow ended.
Re: Location control: switch on/off network location+GPS+WLA
thanks - do you know of any that don't require root access? Also - how do I know when a flow requires root - none seem to mention this requirement?
Re: Location control: switch on/off network location+GPS+WLA
Well when you create a flow, you will see in every action you use a hint when the relevant action needs root access. Mostly when you want to change system settings the action needs root access. But the are also many actions which don't need root access. Have you already have take a look at the tutorial or the flows in catalog?Brownstar wrote:thanks - do you know of any that don't require root access? Also - how do I know when a flow requires root - none seem to mention this requirement?
I have always rooted my phones. Since the good old galaxy s1. Root access is essential to use the whole possibilities you have with an android phone imo.
That's not a fault of automagic. That's a restriction of Android. You also need root in the mostly other automation apps like Tasker or automateit.