Page 1 of 1

Answer dialog limitation?

Posted: Sun Jul 24, 2016 2:33 pm
by ctflatt
Good morning!

I am currently working on an app for both mobile platforms and have run into an issue for which I hope there is a solution.

I have the following code in a button:

on mouseUp
answer "Leave a review on:" with "DealerRater" or "Google+" or "Yelp" or "Cancel"
end mouseUp

iOS responds as expected with an answer dialog displaying the correct options listed per the code above (see screenshot).
ios_ss.png
iOS screenshot
Android, however, only presents 3 options (see screenshot).
android-ss.png
Android screenshot
The odd behavior experienced (aside from rendering the correct options) is that pressing "Cancel" performs the action for "Yelp"

Does anyone have any information or suggestion on proceeding?

Thank you!

Re: Answer dialog limitation?

Posted: Tue Jul 26, 2016 5:23 pm
by MaxV
That's strange! Usually a bullet list appears, not the window with buttons...
Are you using livecode 7?

Re: Answer dialog limitation?

Posted: Tue Jul 26, 2016 8:25 pm
by ctflatt
Using LC8.

This is how I've always handled answer dialogs in the past.

iOS is doing it right, Android is not.

Re: Answer dialog limitation?

Posted: Wed Jul 27, 2016 12:00 pm
by MaxV
Try with Livecode 7.

Re: Answer dialog limitation?

Posted: Thu Jul 28, 2016 12:58 pm
by rmuzzini
old bug.
never fixed, it seems.
see: http://quality.livecode.com/show_bug.cgi?id=12311

Re: Answer dialog limitation?

Posted: Thu Jul 28, 2016 2:33 pm
by MaxV
However with long list, use

Code: Select all

mobilePick "A" & return & "B" & return & "C" & return & "D"