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

MediaFile.getFormatData broken for Image from Capture

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.8.0
    • cordova-android
    • None
    • Seen on Android 2.2.3 and 3.1. Tested using incubator-cordova-android.git tagged "master" by macdonst 48 hrs ago.

    Description

      After capturing image like:
      navigator.device.capture.captureImage(captureImageSuccess, captureError,

      {limit: 1}

      );
      attempt to get format data from image like:
      mediaFiles[i].getFormatData(formatSuccess, formatError);

      Error callback is always called, error.code is undefined.

      Same code works using Cordova 1.6.1. The getFormatData call works on Audio and Video.

      Attachments

        Activity

          People

            macdonst Simon MacDonald
            libbybaldwin Libby Baldwin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: