You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/08/23 07:29:20 UTC

[jira] [Resolved] (CB-11368) resolveLocalFileSystemURL cannot handle url returned by contacts plugin

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

Vladimir Kotikov resolved CB-11368.
-----------------------------------
    Resolution: Fixed

> resolveLocalFileSystemURL cannot handle url returned by contacts plugin
> -----------------------------------------------------------------------
>
>                 Key: CB-11368
>                 URL: https://issues.apache.org/jira/browse/CB-11368
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin File
>            Reporter: zhuisui
>              Labels: triaged
>
> navigator.contacts.pickContact returns photo url like {{content://com.android.contacts/contacts/1/photo}}, which cannot be resolved by resolveLocalFileSystemURL with {{FileError code: 1000}}. I inspect code in the {{ContentFileSystem.java}}, and find the method {{resourceSizeForCursor}} cannot return correct value. The problem is, that cursor doesn't have a column named _size. I have given permission of File and Contacts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org