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 »

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 screenshot
iOS screenshot
Android, however, only presents 3 options (see screenshot).
Android screenshot
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 »

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 »

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 »

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 »

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 »

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