I need to upload file from Android client to an URL via HTTP POST. If upload just 1 file, than it is OK for me. but my target URL page code is looks like following
<form action="file_upload.php" enctype ="multipart/form-data" method="post">
<input type="file" name="uploadedfile">
<input type="file" name="uploadedfile2">
<input type="submit">
</form>
How can I upload 2 more files via HTTP POST at same time ?
I tried following code and confirm that's workable solution:
My platform is Android 2.2, and use this solution need to get httpmime.jar as project library.