在sqlite中存储图像不是一种正确的方法。我可以存储图像的位置,例如。(asset/facea.png)等...因此,当我从sqlite数据库获取数据时,我得到了位置(asset/facea.png)。从这里请指导我如何将链接(asset/facea.png)位置转换为图像。我的edittext包含像“hi asset/facea.png”这样的值,如何在点击提交后将其更改为嗨<image>
。在sqlite中存储blob图像
MY示例代码:http://pastebin.com/xzPBKK2L
预先感谢。
的可能重复[如何存储图片为BLOB SQLite中及如何回顾它?](http://stackoverflow.com/questions/7331310/how-to-store-image-as-blob-in-sqlite-how-to-retrive-it) – adatapost