[
https://issues.apache.org/jira/browse/CB-5294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819900#comment-13819900
]
julio cesar commented on CB-5294:
---------------------------------
I've been looking into this as it affects to my current project and it seems it
doesn't have an easy fix as this is a webview problem, not just phonegap.
It seems to me that the new webview ignores the setWebChromeClient parameter,
or at least the openFileChooser function.
I've opended a stackoverflow thread asking about the input file on android 4.4
webview and started a bounty:
http://stackoverflow.com/questions/19882331/html-file-input-in-android-webview-android-4-4-kitkat
If I get some answers I'll fix it on cordova too.
> File input element not opening file picker in Android 4.4
> ---------------------------------------------------------
>
> Key: CB-5294
> URL: https://issues.apache.org/jira/browse/CB-5294
> Project: Apache Cordova
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: Android 4.4 (emulator and Nexus 5)
> Reporter: Paul Kane
> Priority: Blocker
>
> The file input field doesn't respond when clicked/tapped in Android 4.4.
> Works fine in previous Android versions. This is regardless of whether the
> Target Level is set to 18 or 19.
> To reproduce, I created a fresh Cordova 3.1.0 project for Android. The only
> modification I made to the default (placeholder) index.html file was adding a
> <form> element with a single <input type="file"> element inside. Clicking the
> "Choose File" button does nothing. No Logcat output or errors. Normally at
> this point a dialogue would open allowing me to select an image from the
> gallery or take a picture, which is what happens in older Android versions.
--
This message was sent by Atlassian JIRA
(v6.1#6144)