Reputation: 31
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.
Upvotes: 2
Views: 2570
Reputation: 26525
You can use Http Component Libraries for the purpose.
Check the answer for this question.
Upvotes: 1