Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5294

File input element not opening file picker in Android 4.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.1.0
    • None
    • cordova-android
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              phoenician Paul Kane
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: