数据库测试数据
这是我的数据库测试数据,采用blob存图片。现在已经能将数据库里的blob数据获取出来并且解析为bitmap对象,但是在显示的时候无法得到想要的结果。
实际显示图
感觉我的有问题的代码片段如下:
HashMap map = new HashMap();
Bitmap bm = FileTool.bytes_toBitmap(apps.get(i).getIcon());
map.put("ItemImage",bm);
求大神指点。。。感激不尽
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生