开发者

How to display a pic selected from phone to a local html in the Webview

I am developing a small applicati开发者_Go百科on in Android. I come across a problem, and not sure whether it is possible in Android platform.

I have some local html files. There is an Activity contains a webview, which is used to display these local html files. In some cases, I want to display a picture selected from phone into one of these local html files.

Is it possible? Has anyone resolved such problem? I appreciate any of your replies.


Have you tried using the appropriate content:// URL in your <img> tag, pointing to the "picture selected from phone"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜