开发者

Image with dynamic src loads in Android browser, but not in Webview

I am dynamically serving an image from my server, and attempting to display it in an img tag on an Android phone. This wor开发者_如何学Goks perfectly in the normal Android browser, but when I try it in my app's Webview I just get a question mark.

Running Android 2.1.1 on a Nexus One


Your application need access permission to the web.

<uses-permission android:name="android.permission.INTERNET" />

http://developer.android.com/reference/android/webkit/WebView.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜