kolby wrote:
> Hmmm,
> 
>    String test = "<html><head></head><body>some text <font color=
> \"#00ff00\">in green</font></body></html>";
>    web.loadDataWithBaseURL("data:///some/text/",test, "text/html",
> "utf-8", "");
> 
> only gives me "some text" and nothing in green.

Aha!

JBQ wrote: "LoadData loads your data as a data: Uri. You need to
Uri-escape your data."

http://groups.google.com/group/android-developers/browse_thread/thread/9abce457d553a9a0/c50a906a2d0fa7e9?lnk=gst

Try that and see if it helps.

> Saving to a file just to make the html parser work seems excessive for
> a dynamic web app.

In my case, I was starting from a file. I just wanted to demonstrate
that the issue isn't with WebView.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to