Get multipart / form data android

I am working on a wifi file manager and i have been working for quite a while to upload file from webbrowser to android server.I want to upload file from AJAX to android.Here is my AJAX code.

                url: loc,
                type: "POST",
                data: formdata,
                processData: false,
                contentType: false,
                success: function (res) 
                    $.prompt("File uploaded", 
                        buttons : 
                            "OK" : true
                        callback : refreshFileCallback

Where url stands for the android web server .

My problem is how do i get the file in android.

Please help.

Source: eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.