[ 
https://issues.apache.org/jira/browse/CB-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432292#comment-15432292
 ] 

ASF subversion and git services commented on CB-11368:
------------------------------------------------------

Commit 9860bbb8567a7ab8994996a3a66313510a05f64a in cordova-plugin-file's branch 
refs/heads/master from [~Nikita Matrosov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=9860bbb ]

CB-11368 android: Resolve content URLs produced by contacts plugin

This bug was happening because of invalid assignment of null value to variable 
of primitive type

 This closes #192


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to