How to upload image from gallery to a server in Android?

how to attach image to upload in android?

  • I want to select an image from an android image gallery and upload it to a web server Can any one guide me how to achieve this?

  • Answer:

    http://moazzam-khan.com/blog/?p=490 image uploading + parameters only parameters + text very simple but effective class.

UMAR at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

Here's a nice upload code sample. It uploads a file - exactly what you need http://stackoverflow.com/questions/3038409/how-to-send-http-post-request-and-recieve-response/3038747#3038747.

Fedor

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.