通过图片url生成Bitmap对象和Drawable对象
/**
* @param urlpath
* @return Bitmap
* 根据图片url获取图片对象
*/
public static Bitmap getBitMBitmap(String urlpath) {
Bitmap map = null;
try {
URL url = new URL(urlpath);
URLConnection conn = url.ope
转载
2014-02-11 16:05:11 ·
860 阅读 ·
0 评论