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

Could not open camera with <input type="file" accept="image/*;capture=camera">

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.5.0
    • None
    • cordova-android
    • None

    Description

      Reproduce Test Steps
      =======================================================
      1. create index.html which includes the following tag:
      <input type="file" accept="image/*;capture=camera">

      2. Wrap the web app to android apk with cordova-android

      3. Launch app in device, and click the input tag.

      Expected Outcome
      =======================================================
      The camera can be selected to take a phone

      Actual Outcome
      =======================================================
      Failed to launch camera when tapping the the input tag.

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              gaochun Gao Chun
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: