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

resolveLocalFileSystemURI does not work on a resized image captured from Camera.getPicture()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • cordova-android
    • None

    Description

      Yoh Suzuki ysuzuki@clicktime.com
      8:42 PM (12 minutes ago)

      to phonegap
      Hello,

      I recently noticed that, on Android, camera capture from library using FILE_URI gives me back a uri that is essentially "resize.jpg" with a timestamp on it. resolveLocalFileSystemURI doesn't work on this uri. In earlier versions of PhoneGap, I got back a uri that could be saved and used to reference the image. How can I store a reference to the image (I obviously want to avoid loading it all into localStorage as base64)?

      For iOS, I'm copying the image out of its temporary location to a permanent location. Can I do something similar to the image on Android?

      Thanks!

      Attachments

        Issue Links

          Activity

            People

              macdonst Simon MacDonald
              macdonst Simon MacDonald
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: