M
M
MrStuff882017-01-04 17:39:50
Android
MrStuff88, 2017-01-04 17:39:50

How to properly implement an android application with images?

Good afternoon. It is required to develop a gallery application with a large number of photos (about 100).
In addition, it should be possible to save the original (or at least more or less normal quality) images from the application to the phone's gallery.
To display pictures, I use Picasso.
The images I'm interested in have a resolution of about 2000x3000 and weigh 500-800 kb each, their total volume is up to 100 mb. As I understand it, putting them into the application and scaling them up there is suicide for the device, so I put their reduced copies (about 300x400 in size) in the drawable resources.
А что делать с сохранением картинок? Была идея отображать в приложении картинки размером 300х400, а при нажатии на кнопку "сохранить", загружать в галерею оригинальное изображение. Но нельзя же помещать в ресурсы картинки общим размером 100 мб!
Подскажите, как правильно поступить в данной ситуации?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Олег Гамега, 2017-01-04
@MrStuff88

храните их на сервере, показывайте превьюшки, качайте в хорошем качестве

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question