Android webview, file input field filechooser doesn't show up -
i supposed display web page in webview in app. page contains html form 1 of fields file. goes like...
<input type="file" name="file">
if open page in browser , press choose file button, file chooser pops , good, when press choose file button in webview nothing happens :/
any ideas how make work?
webview default doesn't open file chooser. possible make work. webchromeclient
has hidden method openfilechooser
, needs overridden pop file chooser , return result webview. according gurus 1 should never use hidden methods of android sdk not solution, , shouldn't used in enterprise apps. android's stock browser way. little more information how overrode method in question. if needs source let me know ill post somewhere.
Comments
Post a Comment