I
I
Ivan Balaksha2014-02-02 20:08:39
Java
Ivan Balaksha, 2014-02-02 20:08:39

How to transfer photo from android to server?

Interesting ways to implement file transfer between clients (android) and the server.
For example, there is an application for android (client) and a server in Java.
The client sends a photo and several parameters, to which he receives two links in response.
What is the most convenient way to implement this?
It seems to me that you need to use socket and outputstream.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Lerg, 2014-02-03
@tagantroy

Plain HTTP POST request, either multipart or base64 encoding of the photo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question