Storing an image in a db is a tad complex. I would suggest that you
store the image somewhere in the sdcard, and in the db store the
location of the image.

For storing an image in a db, you will need a column of type blob. But
then again, you have to re-create that image when you are trying to
retrieve it from the db. Quite a few things have to be done for this.

Thanks,
Kumar Bibek

http://tech-droid.blogspot.com

On Dec 17, 10:45 am, devi <[email protected]> wrote:
> Hai developers,
>
>               i have the critical situation.i want  to store the image
> in DB in android. but i don't know how to store image in db and how to
> get from db.i novice to android platform.so anyone give me the
> samplecode to develop my application.i tried more time but not i get
> the correct output.how to create the image field in  SQLite db and how
> to insert the image within db.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to