My application requires that when taking a snapshot it must be stored in memory, and the next time I restart the phone, I should get a thumbnail of this photo in the list of photos and a full-size photo when I click on it.
There are two ways to find out.
- Save images directly. The concern is here every time it has to delete a directory to get an image that takes some time.
- Save all images in one xml. The XML concern here will be too large and takes time to parse
Which is more efficient?
android image storage
Prabhat
source share