In my application I am generating some images which are only needed to my application but it should persist in the phone permanently.
To do this I have two ideas:
- Store in a separate folder in sdcard and hide this and maintain a database with imageIDs and imagepaths.
- Store the images itself along with their IDs in the database.
Out of those two which one is better? Is there any other solution that is better with respect to the performance and storage space? If yes, then please suggest a good solution.
Thanks in advance.