在sqlite db中存储图像的最简单方法 [英] simplest way to store image in sqlite db

查看:72
本文介绍了在sqlite db中存储图像的最简单方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将虚拟sd卡中的图像存储到sqlite db,然后将其取回以显示在图像视图中,这是最简单的方法

hai i need to store an image which is in my virtual sd card to sqlite db and retrieve it back to display in image view,what is the simplest way to do that

推荐答案

了解Sqlite3 BLOB [二进制大对象]
参考:
http://www.tutorialforandroid.com/2009/10/how-to-insert-image-data-to-sqlite.html [
read about Sqlite3 BLOB[Binary Large Object]
Reference:
http://www.tutorialforandroid.com/2009/10/how-to-insert-image-data-to-sqlite.html[^]


这篇关于在sqlite db中存储图像的最简单方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆