Answer the question
In order to leave comments, you need to log in
How to get an image from the database with Android?
There is an application for Android.
It is necessary that it makes a request to the database and receives some text and a picture from the required table.
They say that it is better to store the pictures themselves in the file system, and store only links to them
in the database. How can an android get a picture in this case?
DB MySql
Answer the question
In order to leave comments, you need to log in
DB on a remote server? Then you need a backend and an API for it. Directly connecting to a database on a remote server through an android application is bad.
In the rest - everything is correct. The backend retrieves the path to the image from the database and gives this file to the android.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question