摘要: 获取手机中的图片的绝对路径并且区分出每个文件夹下的路径: 存放图片绝对路径的文件夹的名字和存放绝对路径的List 实体类如下: 1 import java.util.ArrayList; 2 import java.util.List; 3 4 public class ImagePath { 5 阅读全文
posted @ 2016-01-29 23:29 一天学点 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.List; 2 3 import com.example.contentprovider.R; 4 import com.example.entity.ImagePath; 5 import com.example.util.Util; 6 7 import a 阅读全文
posted @ 2016-01-29 23:21 一天学点 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 一张图片(BitMap)占用的内存=图片长度*图片宽度*单位像素占用的字节数 图片格式(Bitmap.Config) 一张100*100的图片占用内存的大小 ALPHA_8 图片长度*图片宽度 100*100=10000字节 ARGB_4444 图片长度*图片宽度*2 100*100*2=20000 阅读全文
posted @ 2016-01-29 22:45 一天学点 阅读(806) 评论(0) 推荐(0) 编辑