的Andr​​oid如何显示和URL图像图像、Andr、oid、URL

2023-09-04 02:57:21 作者:心软脾气硬

我无法在我的Andr​​oid应用程序显示一些图像。某些网址只是正常显示图像。某些图片作品,有些是行不通的。比如试着从URL显示此图像:

I'm having trouble displaying SOME images on my android app. Just normal display image from certain URL. Some images works, some just doesn't work. For instance try displaying this image from URL:

http://img191.imageshack.us/img191/7379/tronlegacys7i7wsjf.jpg

这是行不通的。甚至不工作的模拟器。

It doesn't work. Doesn't even work in emulator.

难道是为图像EXIF信息是有问题的?任何人都可以尝试,看看他们是能够显示在Android上的应用程序,图像,并分享了code /方法来显示图像在屏幕上?

Could it be the EXIF info for the image is problematic? Can anyone try to see they are able to display that image on android app, and share the code/method to display that image on screen?

感谢您!

推荐答案

您将有一个web视图没有问题displayin的形象

You will have no problems displayin that image in a webview

WebView myWebView = (WebView) findViewById(R.id.webview);                   
myWebView.loadUrl("http://img191.imageshack.us/img191/7379/tronlegacys7i7wsjf.jpg");

在哪里显示你的形象?

where are your image being displayed?

 
精彩推荐
图片推荐