How can you upload photos from android gallery to server? -


I am writing an Android application in which a user can choose a picture from his gallery and upload it to the server. How should I complete this?

Uses SOAP webservices primarily to communicate with the server, but I do not know how to serial the stream of bytes in KSAP and therefore I need some help. The solution should not necessarily be used by KSOAP. A valid solution must upload the photo to some servers, and will retrieve the URL only, which will be stored in the database.

You can use it for this purpose.

Check the answer for.


Comments