I am storing my images in drawable and their resource id in SQLite database.My database is created when the application starts for the first time.
Is it good to save
the best way was to store image name directly into database and fetch it,then use
int resID = this.getResources().getIdentifier("your photo name fetched from database","drawable","package name"); image.setResourceID(resID);