简体   繁体   中英

Which storage option is best to store images in android?

I am creating an ecommerce app and I want to store images of products.I tried to store images in SQLite database that was fine but I am facing problems in retrieving these images and got error like cursor window is full. Can you please tell me which storage option is best to store big size of data like images and videos? Should I use internal storage like SD card or cloud storage?

It is better to store the images on Cloud. Then access via image link and you can use Glide (Recommend) to load your images to application.

https://github.com/bumptech/glide

Other storages like SQlite, internal and external storage, it can take your phone memory space.

Hope you can do well. ^^)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM