开发者

Android: ImageSwitcher

How开发者_如何学JAVA do I use the imageswithcer to load picture from my website,, I mean, do I need to send images as binary? or can I use Imageswitcher on URls on the pictures?


You cannot use URIs to fetch remote images. You need to fetch the image and store it locally. One convenient way is to use the Drawable.createFromStream method. For some good links, see the answer from Macarse here: Does ImageView.setImageURI(Uri uri) work with remote files?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜