得到网路图片

  1. String icoURI = "http://202.140.96.134:8080/FS-RSS/img/RN.png";     
  2.     
  3. URL imgURL = new URL(iu);     
  4. URLConnection conn = imgURL.openConnection();     
  5.                  
  6. conn.connect();     
  7. InputStream is = conn.getInputStream();     
  8.                  
  9. BufferedInputStream bis = new BufferedInputStream(is);   

定义网络图片对应的BufferedInputStream 

猜你喜欢

转载自little-r.iteye.com/blog/1665369
今日推荐