开发者

How to save image loaded through url into sqlite database has a binary format

friend's, I need to know how to save image loading through url has a original image in sqlite database.how can i convert image url into binary format and to 开发者_运维百科retrieve original image from database.

Thanks in advance,


You should be able to use

getContentResolver().openOutputStream()

For more information look at: http://developer.android.com/guide/topics/providers/content-providers.html

An example at: http://www.tutorialforandroid.com/2009/10/how-to-insert-image-data-to-sqlite.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜