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
精彩评论