mercredi 27 janvier 2016

Store hig-res picture offline in Android

I'm developing an Android application but I need some help. I need to store about 2000 image in high resolution (1024x768 and about 2.5 MB each) and the application must work offline so i can't retrieve them from an online database or from anywhere else. These picture should be stored in the SQLite db inside the application because each one of them are related to a specific product.

I've tried to convert the picture to a Base64 string but the result is too big and the app crash. It works only if it's about 467x300 and 30 KB but it loose all its quality so this is not a good solution.

Hope you have helpful suggestions. Thank you.

Aucun commentaire:

Enregistrer un commentaire