tags:

views:

19

answers:

0

Hi all, i`m start developing my first Android app, and i have a problem: so i want to display a GridView with lots of image every image need to be downloaded from an URL (like: http://www.mysite.com/images/image1.jpg) and cached for offline use. And have an SQLite database with a table: _id, name, img, content

And what i want is to display that GridView with the records from database img field, and when i click that img an subactivity called with the _id field value.

I`m already do the database the list in ListActivity without image, and when i click an item the subactivity called succesfully so i just only need to get the image file name from database and make a gridview, i maked an GridView with static variable and it is working, but the data is not getting from database and the images is coming from drawable.

Thanks for the help.