Answer dialog limitation?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Answer dialog limitation?

Post by ctflatt » Sun Jul 24, 2016 2:33 pm

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!

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Answer dialog limitation?

Post by MaxV » Tue Jul 26, 2016 5:23 pm

That's strange! Usually a bullet list appears, not the window with buttons...
Are you using livecode 7?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Re: Answer dialog limitation?

Post by ctflatt » Tue Jul 26, 2016 8:25 pm

Using LC8.

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

iOS is doing it right, Android is not.

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Answer dialog limitation?

Post by MaxV » Wed Jul 27, 2016 12:00 pm

Try with Livecode 7.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

rmuzzini
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 63
Joined: Mon Oct 08, 2012 11:30 am

Re: Answer dialog limitation?

Post by rmuzzini » Thu Jul 28, 2016 12:58 pm

old bug.
never fixed, it seems.
see: http://quality.livecode.com/show_bug.cgi?id=12311

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Answer dialog limitation?

Post by MaxV » Thu Jul 28, 2016 2:33 pm

However with long list, use

Code: Select all

mobilePick "A" & return & "B" & return & "C" & return & "D"
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply