delight-im / Android-AdvancedWebView

Enhanced WebView component for Android that works as intended out of the box
MIT License
2.39k stars 574 forks source link

FileUpload on Android 4.4.2 does not work #11

Closed ddinger closed 9 years ago

ddinger commented 9 years ago

Just tried your code on my LG G2 running Android 4.4.2 with an html containing input type=fileupload. Unfortunately nothing happend, when I clicked on the "Upload" Button.

Kind regards, Dirk

PabloWenger commented 9 years ago

any solution for this ? im have same issues, i need a solution for FileUpload on 4.4.2. other version work fine.... but my client is calling and i can't figure out with a solution.

ocram commented 9 years ago

This is a real shame, but unfortunately, there is no possibility to make file upload works on Android 4.4.x.

This is because the APIs that worked from Android 2.2 to Android 4.3 have been removed in Android 4.4 and a new API for file uploads has only been introduced in Android 5.0.

With this library, you get working file uploads for all these versions out of the box, just except for Android 4.4.x.

See this issue as well: https://github.com/delight-im/Android-AdvancedWebView/issues/4