agnes
agnes

Reputation: 1

Store Image path in database

I am making a app in which I am retrieving data from Database in List View. I want to have different picture with each data I retrieve from database in list View. What I am trying to do is to save my pictures in drawable folder of my app and want to save image path in database and retrieve my image from saved path. I searched lot on internet but couldn't get appropriate solution. Somebody please show me appropriate code.

Upvotes: 0

Views: 448

Answers (1)

user3032484
user3032484

Reputation: 61

Don't know if you already have solved this problem, but after looking for it myself i found a solution.

what i did was use this.

i stored my images in a subfolder in "Assets" and this works like a charm, don't know how many images it can hold in total, but i'll find out eventually i guess xD

Upvotes: 1

Related Questions