设置imageView显示网络上的图片 picUrl = new URL(getIntent().getExtras().getString("map_url")); Bitmap pngBM = BitmapFactory.decodeStream(picUrl.openStream()); mapIMG.setImageBitmap(pngBM);
时间: 2024-10-06 20:36:33
设置imageView显示网络上的图片 picUrl = new URL(getIntent().getExtras().getString("map_url")); Bitmap pngBM = BitmapFactory.decodeStream(picUrl.openStream()); mapIMG.setImageBitmap(pngBM);