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

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

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

Post by Fasasoftware » Mon Jan 14, 2013 10:25 pm

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:

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

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

Post by Mark » Tue Jan 15, 2013 12:13 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

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

Post by Fasasoftware » Tue Jan 15, 2013 12:45 pm

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:

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

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

Post by Klaus » Tue Jan 15, 2013 1:58 pm


Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

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

Post by Fasasoftware » Tue Jan 15, 2013 10:11 pm

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:

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

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

Post by Simon » Wed Jan 16, 2013 1:04 am

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
Attachments
trytextsa.zip
Currency Rate Grabber LC 5.5
(4 KiB) Downloaded 321 times
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

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

Post by Fasasoftware » Wed Jan 16, 2013 7:33 am

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

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

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

Post by Simon » Wed Jan 16, 2013 7:59 am

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).
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply