Page 1 of 1

Set Htmltext Don't work properly in android!!!!

Posted: Mon Jan 14, 2013 10:25 pm
by Fasasoftware
Dear friend,

i'm working for a little app and i'm using "set htmltext" and in mac and pc work fine ok....but in android don't convert well the text!! is there another instruction to do the same of "set htmltext?" or there any way to convert the html text in plain text, without using function???because also the functions don't work in android!!!

i thank you so much....

Best regard,

Lestroso :oops:

Re: Set Htmltext Don't work properly in android!!!!

Posted: Tue Jan 15, 2013 12:13 pm
by Mark
Hi Lestroso,

Could you explain what is wrong with the htmlText conversion? If I know what's wrong, I migh think of an alternative way.

Kind regards,

Mark

Re: Set Htmltext Don't work properly in android!!!!

Posted: Tue Jan 15, 2013 12:45 pm
by Fasasoftware
Hi mark,
i have already talk to the runrevquality support...

The text don't become plain text in real manner as i do the command "set the htmltext" in win or mac....in android don't work fine....

Mark if you can go in the runrev quality support i have attached a little stack that explain this big problem.....

I look forward to your reply.....

Best regards,

Lestroso :oops:

Re: Set Htmltext Don't work properly in android!!!!

Posted: Tue Jan 15, 2013 1:58 pm
by Klaus

Re: Set Htmltext Don't work properly in android!!!!

Posted: Tue Jan 15, 2013 10:11 pm
by Fasasoftware
The Livecode Team have investigate to this bug....but for now they told me that was not a bug...but in trueth for me it is....

I hope that they talk to me a solution with my demo stack modified by them ...working in android....

Have any idea???

can you help me??


Best regards,

Lestroso :oops:

Re: Set Htmltext Don't work properly in android!!!!

Posted: Wed Jan 16, 2013 1:04 am
by Simon
Hi Lestroso,
I took a look at the stack you sent to quality and while I don't have a direct answer for you on how to make your stack work, I have built a stack that does what you are trying to do (I think) but using a different web source.

One thing I'm concerned about is your original source "http://www.investing.com/technical/technical-summary" takes forever to download and set the HTMLText, even on a desktop. The Android may just "give up".

I just picked "http://www.fxstreet.com/rates-charts/currency-rates/" because of it's simple layout, so if you must use investing.com then my stack wont be of use to you. But it does use "set the HTMLText" to format a field.

Sorry it's in LC 5.5 but I couldn't test it in 4.6

Simon

Re: Set Htmltext Don't work properly in android!!!!

Posted: Wed Jan 16, 2013 7:33 am
by Fasasoftware
Thank a lot Simon!!!

Your app works thery fine.....also in android!!!!

But why "set htmlText works fine depending the website you are using????" ...Don't seem a bug this??? Bho....Perhaps i'm wrong....

In any way you helped me so much Simon...your script for me it's a little complicated but working..ok!!!

Now i will try to do other modify to your stack....

thanks a lot again,

Lestroso :D

Re: Set Htmltext Don't work properly in android!!!!

Posted: Wed Jan 16, 2013 7:59 am
by Simon
Hi Lestroso,
But why "set htmlText works fine depending the website you are using????"
I don't believe it has actually to do with the website, except that the one you chose was hard/difficult/difficile to process (flash intro etc).

If you are concerned just try simplifying your code you will see HTMLText does work on Android.

Simon
EDIT: Mettere 100 kg su entrambe le braccia poi scrivere il proprio nome, vedere come questo può essere difficile. (fun with Google Translate).