Answer the question
In order to leave comments, you need to log in
How to upload a photo to the server (database) in user id, on android studio?
How to upload a photo to the server (database), per user id, using android studio? It would be nice if they could show an example.
Answer the question
In order to leave comments, you need to log in
You probably mean uploading the photo to the server and attaching a link to the photo to the user id in the database?
Alternatively, specify the id in the headers and send the photo in the same request :) And adding a link to the database is already on the server side. You can make a request both through httpconnect and through third-party libraries, such as okhttp.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question