Apache Cordova
  1. Apache Cordova
  2. CB-5294

File input element not opening file picker in Android 4.4

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Android 4.4.2, partially fixed in Android 4.4.3

      Description

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Paul Kane
            • Votes:
              5 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development