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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to