2

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.

Aaron Butacov
  • 32,415
  • 8
  • 47
  • 61
DFDF
  • 31
  • 1
  • 3

1 Answers1

1

You can use Http Component Libraries for the purpose.

Check the answer for this question.

Community
  • 1
  • 1
Primal Pappachan
  • 25,857
  • 22
  • 67
  • 84