I thought this might have fixed my problem, but not quite. Since the
apk is readonly, it seems I can't put any files in the assets
directory at runtime. So I can't grab an image, put it in there, and
then have the webview load it.
Is it possible to load an image from the files directory?
Something like
data.loadData("<IMG SRC=\"file:///data/data/myApp/files/myImage.gif
\" />", "text/html", "UTF-8");
Thanks again.
On Mar 29, 9:29 pm, Mark Murphy <[email protected]> wrote:
> Beginner wrote:
> > Wow. That worked. Thanks a bunch.
>
> > Is there a bug already opened for this? Or...
>
> There was a bug already opened. And closed. Without what I would
> consider an adequate explanation.
>
> It's one of my pet peeves, which is why I come up with slightly
> different fake URLs to try to get answers by poking fun at the problem.
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---