I have been struggling to upload files from WebView since last few
days and there is no progress. I googled and implemented all suggested
solutions but none works, like: solutions suggested here,
and so on.
Problem: I have a HTML page with the following code to upload a file.
It works fine in a desktop browser like Firefox and built-in browser
of emulator / AVD i.e., when I click “Browse…” button rendered by
element, browser opens a Dialog
box where I can choose a file to upload.
However, in the android 3.0 emulator / AVD, when I click on “Choose
file”, nothing happens, no file dialog is opened!!!
<form method="POST" enctype="multipart/form-data">
File to upload: <input type="file" name="uploadfile">
<input type="submit" value="Press to Upload..."> to upload the file!
</form>
Could anyone please suggest a possible solution at the earliest.