You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "zhuisui (JIRA)" <ji...@apache.org> on 2016/06/03 02:20:59 UTC

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

zhuisui created CB-11368:
----------------------------

             Summary: 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: Bug
          Components: Plugin Contacts, Plugin File
            Reporter: zhuisui


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