how to retrieve images from database and show in grid view
Suzzane Pinto
Ranch Hand
Joined: Feb 10, 2012
Posts: 204
posted
0
hi...
i want to show all the images from database in a gridview or list view in android...
could not find any good tutorial to do that....all i get are examples who take from drawable and display...
any help would be greatly appreciated on this since i am struggling so long..
What exactly do you mean by images from database? Is it a remote database or a local database? Please give us more details.
Swastik
Suzzane Pinto
Ranch Hand
Joined: Feb 10, 2012
Posts: 204
posted
0
Hi,
thanks for your reply
i want to fetch images from sqllite and show in gridview....iam inserting images in byte[] to the database...
also i would like to know what would happen if iam able to successfully insert images to remote database is it ok???
retrieving images anyhow i want to do
please suggest
Suzzane Pinto
Ranch Hand
Joined: Feb 10, 2012
Posts: 204
posted
0
no reply
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
What have you tried that hasn't worked? The Android developer docs point to example code about how to use the built-in DB.
Using a remote DB would probably result in long delays and a very sluggish app.