How to upload image through multipartform data to server (Android)
<p>I want to upload image to a server. URL:</p>

<p><a href="http://asptest.expenseanywhere.com/eamobile/imageupload.aspx" rel="nofollow">http://asptest.expenseanywhere.com/eamobile/imageupload.aspx</a></p>

<p>Server requirer 5 fields for getting the response of successful upload that are: corporate id, username, password, etc. and image also. So how to send all these data to server and upload the image to server successfully? Please reply in details because I am new in Android and Java and I am not getting the idea how to do that. I am reading this article:</p>

<p><a href="http://http://getablogger.blogspot.com/2008/01/android-how-to-post-file-to-php-server.html" rel="nofollow">http://http://getablogger.blogspot.com/2008/01/android-how-to-post-file-to-php-server.html</a></p>

<p>but in this article only the image is sent to server. So how to write all the fields which I want to file and send all the fields to server for uploading the image? Help would be greatly appreciated.</p>
