views:

72

answers:

1

Hello, I am writing an android application in which users can pick a photo from their gallery and upload it to a server. How should I accomplish this ?

The application mainly uses SOAP webservices to communicate with the server, but I do not know how to serialize a stream of bytes in KSOAP and therefore I need some help. The solution should not necessarily use KSOAP. A valid solution would be to upload the photo on some server, and just retrieve the URL, which will be stored in the database.

A: 

You can use Http Component Libraries for the purpose.

Check the answer for this question.

primalpop