views:

33

answers:

1

For example, I want to make an image appear in webview to utilize the zoom functions. I would use this line of code:

this.myWebView.loadUrl("file://");

I just need to know what to put after file to reference the image.

A: 

you would have to use the data uri and base64 encode the image bytes. the Uri would look something like this:

this.myWebView.loadUrl("data:image/png;base64,<base64DataHere>");
Ryan Conrad