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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: