Friday, February 22, 2013

In Android how to storing and retrieving images as a BLOB from SQLite Database

This is 2 import link for storing and retrieving images as a BLOB from SQLite Database.

http://android-codes-examples.blogspot.in/2011/09/image-and-content-is-populated-from.html


http://sree.cc/google/storing-and-retriving-images-in-sqlite-database-in-android


> First link showing full process and also showing retrived data in listview.
> Second link have a code to convert online image as a BLOB and storing in SQLite DB. Also having the process of retrieving same image and convert in an bitmap format.

2 comments:

  1. Hello I m unable to retrieve value from blob column in raw query but when i query through getdata function in orm lite from db i get appropriate result.but i need raw query..it gives unable to convert blob to string .please help its very urgent.
    Please mail me at aaaamruta@gmail.com

    ReplyDelete