HTML Text in answer does not work on android

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
mrcoollion
Posts: 744
Joined: Thu Sep 11, 2014 1:49 pm

HTML Text in answer does not work on android

Post by mrcoollion »

I have put HTML text in a hidden field and show that field with

Code: Select all

Answer fld "HelpText"
.
This works really nice in development mode on my PC but when I transfer the stack to android I only see plain text with the html code in it. Also I have set a standard icon for this button but that also does not show in android. In fact if I use a standard icon the button seemingly is not there at all until i remove the icon.

What am I doing wrong ?!
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: HTML Text in answer does not work on android

Post by Klaus »

Hi mrcoollion,
What am I doing wrong ?!
nothing actually!

On Mac, Win and Linux the ASK and ANSWER dialogs are just plain LC stacks,
but on iOS and ANDROID these dialog windows are supplied by the underlying OS,
which of course does not understand what "htmltext" is, so the dialogs will simply
display the raw html CODE.


Best

Klaus
mrcoollion
Posts: 744
Joined: Thu Sep 11, 2014 1:49 pm

Re: HTML Text in answer does not work on android

Post by mrcoollion »

Thanks Klaus,

You saved me a lot of investigating time.
Pitty that HTML with answer does not work on Android.
Any other way to show a HTML Text? E.g. Showing and hiding an HTML text Field with scroll bars ?

Regards,

Paul
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: HTML Text in answer does not work on android

Post by Klaus »

Dag Paul,
mrcoollion wrote:Any other way to show a HTML Text? E.g. Showing and hiding an HTML text Field with scroll bars ?
yes, should work without problem.


Best

klaus
Post Reply