Re,
Actually, I still have a problem.
When I use this trick, the javascript containing in my page doesn't
work whereas the same page(html/javascript) works when I load it from
the network or from a file:///android_asset/myfile.html.
Anything?
Polo
On Nov 21, 1:06 pm, polo777 <[EMAIL PROTECTED]> wrote:
> Thanks a lot of Mark.
>
> This workaround did the trick.
>
> String mimeType = "text/html";
> String encoding = "utf-8";
> mWebView.loadDataWithBaseURL("fake://fake.com", out.toString(),
> mimeType, encoding, null);
>
> Regards,
> Polo
>
> On Nov 21, 11:42 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > polo777 wrote:
> > > Does someone have a solution? That would be great.
>
> > Use loadDataWithBaseURL(), even if you have to pass in a fake URL.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
>
> > Android Training on the Ranch! -- Mar 16-20,
> > 2009http://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 [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---