安卓笔记侠

专注安卓开发

导航

BitmapFactory 读取图片方法总结

①decodeFile(java.lang.String pathName)
 
 
②decodeResource(android.content.res.Resources res, int id)
 
 
③decodeStream(java.io.InputStream is)
 
 
④decodeByteArray(byte[] data, int offset, int length)

 

posted on 2017-06-10 18:29  安卓笔记侠  阅读(873)  评论(0)    收藏  举报