如何查看插入真机的图片?

How to view image inserted in real device?

是否可以在android中查看插入的图像?我应该使用哪个应用程序?我使用 SQLite Debugger 访问数据库内容并在图像列中看到 <BLOB>。它有办法查看 SQLite Debugger 中插入的图像吗?

直接查询Table

Cursor cur=your query;
while(cur.moveToNext())
{
     byte[] photoblob=cur.getBlob(index of blob column);
}


现在将 byte[] 照片转换为图像:

ByteArrayInputStream imagestrm = new ByteArrayInputStream(photoblob);
Bitmap img= BitmapFactory.decodeStream(imagestrm);

现在可以将Bitmap设置为Imageview了。

希望你能明白我的意思。