Search found 80 matches

by mbirth
10 Feb 2017 22:30
Forum: EAP - Early Access Program
Topic: EAP version 1.33.0-dev
Replies: 48
Views: 276889

Re: EAP version 1.33.0-dev

There were only minor changes to the wear app (feature to drag/drop overlays) which should not have any negative effect on the battery consumption. Maybe Google Play services is causing troubles or tries to update. Try to restart the watch one or two times. I think you are spot on with your guess. ...
by mbirth
09 Feb 2017 16:05
Forum: EAP - Early Access Program
Topic: EAP version 1.33.0-dev
Replies: 48
Views: 276889

Re: EAP version 1.33.0-dev

Did you change something with the Android Wear integration? My Sony SW3 only lasts short of a day since installing the latest EAP version. It lasted over 2 days before. The only other Wear-related app I updated recently was the watchface - but there were also only minor changes listed which shouldn'...
by mbirth
11 Jan 2017 22:22
Forum: User Help / Bug Reports
Topic: Extracting information from Json
Replies: 5
Views: 18005

Re: Extracting information from Json

With for-loops and a few others, this should be a piece of cake. No need for AutoTools…

E.g. for the average age, it should be something like this (untested):

Code: Select all

sum = 0;
kids = myData["kindergarten"]["children"];
for (i in kids) {
    sum = sum + kids[i]["age"];
}
average = sum / length(kids);
by mbirth
11 Jan 2017 12:12
Forum: Feature Requests
Topic: Edit flows.xml on a PC
Replies: 7
Views: 24470

Re: Edit flows.xml on a PC

I'd suggest some web based editing tool, probably being served by a built-in web server in Automagic - similar to AirDroid, or the web sharing feature of FX File Explorer. This would also ensure platform-independence for the editor.
by mbirth
11 Jan 2017 12:08
Forum: User Help / Bug Reports
Topic: HTML parsing
Replies: 1
Views: 7073

Re: HTML parsing

I'm doing this in a flow with said evaluateXPathAsString(). However, the page I'm parsing is XHTML, so not only HTML, but valid XML, too. The queries I'm using are: DP_percent=evaluateXPathAsString(response, '//*[@class="progressBar"]/div/@style'); ... DP_text=trim(evaluateXPathAsString(response, 's...
by mbirth
11 Jan 2017 11:59
Forum: User Help / Bug Reports
Topic: Extracting information from Json
Replies: 5
Views: 18005

Re: Extracting information from Json

Can someone help by demonstrating how to extract an information from a json file? If you want to read text from a file, the Init Variable Text File is your friend. And after it's in a variable, use the fromJSON() Script function to parse it into an object. If it doesn't work, check the error log an...
by mbirth
03 Jan 2017 17:49
Forum: Flow Sharing Area
Topic: Show remaining mobile internet plan as notification
Replies: 3
Views: 15966

Re: Show remaining mobile internet plan as notification

For me it would be cool to just have the android in build data usage as a notification popping up for 10s after turning screen on... Is that possible? IIRC you can't get the actual value from the internal counter. You can, however, get "total transferred bytes since last bootup" and have to manuall...
by mbirth
07 Nov 2016 21:55
Forum: User Help / Bug Reports
Topic: Trigger for time range available?
Replies: 2
Views: 11170

Re: Trigger for time range available?

I'd use two flows with a "Time" trigger each like you do at the moment. If you want to compress it into one, you could assign both Time triggers to the flow (so it will trigger on both times) and then add a condition block to find out if it's AM or PM and then set the Bluetooth state according to th...
by mbirth
07 Nov 2016 21:51
Forum: Feature Requests
Topic: Trigger: Physical keyboard opened/closed
Replies: 6
Views: 19250

Re: Trigger: Physical keyboard opened/closed

Tested it in the current EAP version and it seems to work fine on my BlackBerry PRIV. One suggestion: You could supply the keyboard_type variable in the opened/closed condition already so I don't have to figure it out using the condition later. Maybe even make opened/closed checkboxes (in the trigge...
by mbirth
07 Nov 2016 21:41
Forum: Feature Requests
Topic: Automate by Llamalabs
Replies: 15
Views: 53627

Re: Automate by Llamalabs

Just curious, do you know how Automate handles such cases? It's just like you guessed: the flow would have to execute a child flow to handle the event while the main flow waits for the next event. by the way: It gets really funny when you want to have multiple triggers OR'd: Use the Fork or Subrout...