Efficient Way to store images in android

前端 未结 1 372
轮回少年
轮回少年 2020-12-19 04:29

My application requires that when a snapshot is taken it must store in memory and next time when I restart the phone I must get a thumbnail of that photo in list of photos a

相关标签:
1条回答
  • 2020-12-19 04:59

    Definitely store the images directly as opposed to in XML. It will take time to read the image from the file system but I wouldn't worry about this taking an excessively long time.

    Read through the android docs on Data Storage for more info: http://d.android.com/guide/topics/data/data-storage.html

    0 讨论(0)
提交回复
热议问题