You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/01/27 19:21:41 UTC

[jira] [Resolved] (CB-3186) Make resolveLocalFileSystemURL() work with content:// URLs returned by the Camera API

     [ https://issues.apache.org/jira/browse/CB-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland resolved CB-3186.
------------------------------

    Resolution: Fixed

This is fixed in the dev branch now of cordova-plugin-file (1.0.0-dev)

> Make resolveLocalFileSystemURL() work with content:// URLs returned by the Camera API
> -------------------------------------------------------------------------------------
>
>                 Key: CB-3186
>                 URL: https://issues.apache.org/jira/browse/CB-3186
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File
>    Affects Versions: 2.6.0
>         Environment: Cordova 2.6.0 patched with commits from CB-2432
> https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=b13166f5d92196ed3e1b2d2dfd4cef7242876d70
> https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=191f31baa74d1dd99e321357c562d10f2c426f0c
>            Reporter: Abel MuiƱo
>            Assignee: Ian Clelland
>
> calling `window.resolveLocalFileSystemURI` with the returned URI results in an error with the following log:
> {noformat}
> Object
>  "File" "resolveLocalFileSystemURI" "File629493933" "["content://com.google.android.gallery3d.provider/picasa/item/5825295055430535810"]"
> processMessage failed: Message: S01 Camera629493932 scontent://com.google.android.gallery3d.provider/picasa/item/5825295055430535810
> processMessage failed: Error: Error: Error calling method on NPObject.
> processMessage failed: Stack: Error: Error calling method on NPObject.
>     at androidExec (file:///android_asset/www/native/cordova-2.6.0.js:859:48)
>     at file:///android_asset/www/native/cordova-2.6.0.js:6326:5
>     at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:136:23)
>     at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:3:61)
>     at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:169:19)
>     at [object Object].<anonymous> (file:///android_asset/www/reporter/decks/report.js:3:61)
>     at Object.callbackFromNative (file:///android_asset/www/native/cordova-2.6.0.js:291:54)
>     at processMessage (file:///android_asset/www/native/cordova-2.6.0.js:970:21)
>     at Function.processMessages (file:///android_asset/www/native/cordova-2.6.0.js:1008:17)
>     at pollOnce (file:///android_asset/www/native/cordova-2.6.0.js:874:17)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)