Hi,

I am trying to create a hybrid Android app which pulls html content
from a web server and renders it in a WebView. However, I also want
the external html to be able to reference images that are packaged
within the android app. I realize that currently it is not possible to
do something like <img src="file:///my_image.jpg" /> in the html.

I have seen discussions of using the ContentProvider to create name
spaces in the html, however all of these examples seem to assume that
the actual html page is also on the device and tend to use
WebView.loadData().

So, is there someway that it is possible to do this? The main goal is
to package all the application images/css in the android app, but put
the bulk of the application on an external server that returns the
actual markup.

Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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