Friday 24 January 2014

Multiple images Insert and Retrieve from SQLite Database and assign to Grid View in Android

I was done single image insertion and retrive from the android sqlite in preview post(http://androidsurya.blogspot.in/2012/11/insert-and-retrieve-image-from-sqlite.html).So many people asking how to insert multiple images and retrieve multiple images from the android sqlite database.

Now i cleared and i created one example to store multiple images and retrieve multiple images from the android sqlite database.retrieved images assigned to android gridview.

Here the below example insert multiple images in to sqlite and retrive images from the  android sqlite and assigning to android gridview.(I was written this code just modify the previews post which i was posted in past -http://androidsurya.blogspot.in/2012/11/insert-and-retrieve-image-from-sqlite.html)

Output Screenshot:
























Tags: Android,grid-view,images insert,images retrieve,no of images in sq-lite,how to show multiple images in grid view from the sq lite database,

1 comment:

  1. Hello sir, I have an Android App. First of all i take a photo using camera app. And I store it in database. then I should display the images in gridview which are taken. you used two images which are in drawable. In such case how i implement gridview? Can u help me? I really confused...

    ReplyDelete

Android SQLite Database Viewer or Debuging with Stetho

Every Android Developer uses SQLite Database to store data into the Android Application data. But to view the data in SQLite have a lot of...