lostsheep
lostsheep

Reputation: 39

How to transfer images from Android client to Java server

I am trying to developer an Android application which allows to capture pictures with the camera, and send the pictures to a Java server.

I don't need the picture after, so I do not need to store it in the phone locally.

I was able to successfully to transfer simple text from client to server, but I'm having problems with images.

What do I need to do to be able to send images from the Android client, and should anything special be made in the server apart from what it is doing now?

Upvotes: 0

Views: 780

Answers (1)

Dmitry Zaytsev
Dmitry Zaytsev

Reputation: 23972

Solution is to use http request with MultipartEntity.

Upvotes: 1

Related Questions