摘要:
iphone上实现很简单,一行代码:imageView.image =[UIImage imageWithContentsOfURL:theURL];android:两种方法:Bitmap bimage= getBitmapFromURL(bannerpath);image.setImageBitmap(bimage); public static Bitmap getBitmapFromURL(String src) { try { Log.e("src",src); URL url = new URL(src); ... 阅读全文