Little problem with confirmation dialogue condition

Post your questions and help other users.

Moderator: Martin

Post Reply
Akt
Posts: 133
Joined: 25 May 2014 08:57

Little problem with confirmation dialogue condition

Post by Akt » 14 Jun 2017 13:16

Hello,
I have an question.
When using confirmation dialogue, it has 3 option in behavior on back button , i.e. Ignore, return with true and return with false.
I have assigned some action in both the buttons. But sometimes I don't want to use any of them so I have selected behavior on back button as ignore. But now when I press the back button nothing happens and I have to press home button of my phone to get out of it. And when I clear recent task of my phone, it return with false and execute the action of the false button.

Please help that If I press the back button, the confirmation dialogue window should go and when I clear my recent apps nothing should happen.
http://automagic4android.com/flow.php?i ... c9b9e25987

User avatar
Bingwu
Posts: 114
Joined: 26 Feb 2016 10:26

Re: Little problem with confirmation dialogue condition

Post by Bingwu » 14 Jun 2017 14:58

Hello Act!

With the confirmation dialog you only have two options (yes and no).
Ignore is doing nothing - the condition is waiting.

Maybe this is the solution.

greeting
Peter
hardcopy.png
hardcopy.png (384.99 KiB) Viewed 8393 times
Sorry, very small! :(

Action:
Input Dialog
Title: Weather Info
Input Dalog Type: Single Choice Menu
List Values: Forecast 10 Days,Forecast Hourly
Default Value: nothing (or drink coffee ... - no matter -> Ends at the second condition as false)

1. Condition:
Expression
value == "Forecast 10 Days"
(true -> Action / false -> 2. Condition)

2. Condition:
Expression
value == "Forecast Hourly"
(true -> Action / no false)

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Little problem with confirmation dialogue condition

Post by Akt » 18 Jun 2017 08:57

Thanks friend for the help.

Post Reply