W
W
Who_Is_Who2019-01-20 15:54:47
Java
Who_Is_Who, 2019-01-20 15:54:47

How to correctly upload an image to the internal memory of the device in the created folder and get the path to the image?

This is required for SQLite. I created the folder where the images should be downloaded. I can get the path to the folder. But the main problem is downloading the image itself. Picasso and Glide work through Bitmap, I want a more direct download, without converting. Is it possible? Or does it have to be a Bitmap to download or a byte[]?
How to correctly upload an image to the internal memory of the device in the created folder and get the path to the image?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EVGENY T., 2019-01-21
@Who_Is_Who

1. byte[], it seems to me, is mandatory - you download the file into it via InputStream.
2. Bitmap is needed if you want to manipulate the image.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question