Search found 17 matches

by srjohn
23 Jan 2014 01:36
Forum: User Help / Bug Reports
Topic: JSON data parsing
Replies: 2
Views: 8564

Re: JSON data parsing

Hi, You could use the functions indexOf , lastIndexOf and substring to extract the value. Assume the JSON response is stored in a variable with name value : //the string is enclosed in single quotes so that double quotes don't need to be escaped key_start_index = indexOf(value, '"key1":200'); //sea...
by srjohn
21 Jan 2014 15:29
Forum: User Help / Bug Reports
Topic: pass the result of a flow to another flow
Replies: 4
Views: 11710

Re: pass the result of a flow to another flow

Have a close look at the "Execute flow" action! There is an option "Return variables to the calling flow" which should exactly do what you want! Hi kintrupf, Thanks for your hint! But I still don't get it. I did see "Return variables to the calling flow", but it is only a check box. I don't see any...
by srjohn
21 Jan 2014 07:47
Forum: User Help / Bug Reports
Topic: pass the result of a flow to another flow
Replies: 4
Views: 11710

Re: pass the result of a flow to another flow

Have a close look at the "Execute flow" action! There is an option "Return variables to the calling flow" which should exactly do what you want! Hi kintrupf, Thanks for your hint! But I still don't get it. I did see "Return variables to the calling flow", but it is only a check box. I don't see any...
by srjohn
21 Jan 2014 05:45
Forum: User Help / Bug Reports
Topic: pass the result of a flow to another flow
Replies: 4
Views: 11710

pass the result of a flow to another flow

Hi, For example, I have a flowA which produce a variable var_A. In flowB, it executes flowA and I want to the var_A to be passed to flowB. Is there any way but using global variable to achieve this? The idea is that var_A is the return value of flowA, and flowB just uses the return value. Thanks, -s...
by srjohn
21 Jan 2014 01:54
Forum: User Help / Bug Reports
Topic: JSON data parsing
Replies: 2
Views: 8564

JSON data parsing

Hi, I have a JSON response something like below" [{"ud":true,"range":"","time":"2014\/01\/21","value":"","no":"0","key1":0},{"ud":true,"range":"114","time":"09:46:00","value":"5,050","no":"155","key1":155},{"no":"200","v2":333,"value":"33,383,841,250","range":"","time":"09:46:00","ud":true,"key1":20...
by srjohn
20 Jan 2014 18:08
Forum: User Help / Bug Reports
Topic: Init Variable Location's location_accuracy
Replies: 2
Views: 7965

Re: Init Variable Location's location_accuracy

Thank you, Martin.
I can get the accuracy by your way now.
Best Regards,
-srjohn
by srjohn
18 Jan 2014 05:11
Forum: User Help / Bug Reports
Topic: extract the month, day, hour, minute from current time
Replies: 5
Views: 14603

Re: extract the month, day, hour, minute from current time

Martin, thanks!
It is working now!
-srjohn
by srjohn
18 Jan 2014 04:41
Forum: User Help / Bug Reports
Topic: Init Variable Location's location_accuracy
Replies: 2
Views: 7965

Init Variable Location's location_accuracy

While using action Init Variable Location, how can i init the variable from location_accuracy?
Thanks!
by srjohn
17 Jan 2014 02:20
Forum: User Help / Bug Reports
Topic: number accurates to the second decimal place
Replies: 2
Views: 8527

Re: number accurates to the second decimal place

Thanks! {number,numberformat,0.00} works!
Thanks for your great APP!
-srjohn
by srjohn
15 Jan 2014 16:23
Forum: User Help / Bug Reports
Topic: extract the month, day, hour, minute from current time
Replies: 5
Views: 14603

Re: extract the month, day, hour, minute from current time

MURTUMA wrote:Look at the script action in this flow. It's not exactly what you want but it should help you forward.

http://automagic4android.com/flow.php?i ... 64b688391a
Thanks for the hints!