It would be very helpful if you could add an option wait until the selected flow has fully executed before continuing from condition.
Use case: I have few informative flows which shows some toast messages when I turn screen on. Sometimes the messages overlap so it's hard to read them. With requested improvement it would be easy to delay execution so the messages wouldn't overlap each others.
Improve flow executing condition
Moderator: Martin
Re: Improve flow executing condition
I don't think that's possible. The reason is simple: You can tell android to display a toast message you can specify if you want to to show up for a short or a long amount of time (both are customizable - see http://developer.android.com/reference/ ... Toast.html). Automagic has no change of finding the exact duration a toast message will be shown. I think the only way to solve your issue is to wait for a certain amount of time (a value that will probably only work for you) and continue to display the next toast.
Re: Improve flow executing condition
That's true, but it can be countered by adding a few seconds sleep action at the end of the flow. Without the requested feature the same can be done with a loop check. However, that requires two or three elements instead of one: flow executing condition, execution count condition (not necessary, depending on implementation) and sleep action (to counter emergency stop).
That could be achieved by a simple check box, similar to the one in execute flow action (wait for called flow to finish).
That could be achieved by a simple check box, similar to the one in execute flow action (wait for called flow to finish).
Re: Improve flow executing condition
Android itself should queue toast-notifications and should show each toast for the duration that's specified in the action.
Does your version of Android show multiple toasts at the same time and visually overlapping? Are you using Notification on Screen to show the messages or something else?
If this problem happens in one flow, you could open the flow and use menu->Options to change Flow execution policy to Wait... and add an action Sleep at the end of the flow.
Does your version of Android show multiple toasts at the same time and visually overlapping? Are you using Notification on Screen to show the messages or something else?
If this problem happens in one flow, you could open the flow and use menu->Options to change Flow execution policy to Wait... and add an action Sleep at the end of the flow.
Re: Improve flow executing condition
I have two flows. One executes with screen on and the other with user present. Toasts lasts approx three secs and they overlap about one sec.
I use Xposed mod which changes the look and position of toast messages but don't change their duration. Phone is SGS+ with latest stock gingerbread.
With requested feature and by putting a two or three second sleep action at the end of the flow would provide an easy workaround for this.
I use Xposed mod which changes the look and position of toast messages but don't change their duration. Phone is SGS+ with latest stock gingerbread.
With requested feature and by putting a two or three second sleep action at the end of the flow would provide an easy workaround for this.