[
https://issues.apache.org/jira/browse/CB-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701769#comment-14701769
]
Adam Roberson commented on CB-8878:
-----------------------------------
This issue is not corrected. The problem comes from retrieving a photo from
selecting a photo from the photo library, not from taking a picture. The url
being returned
"content://com.android.providers.media.documents/document/image%3A1778" looks
correct, but when you try to actually use the url to retrieve the photo from
the file system, you receive invalid url. This does happen on a Nexus 5 and
also Moto X running Lollipop 5.1.
> Nexus 5 DestinationType.FILE_URI issue OS 5.1 Lollipop
> ------------------------------------------------------
>
> Key: CB-8878
> URL: https://issues.apache.org/jira/browse/CB-8878
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: Muhammad Saifuddin
>
> This is simple code I am using for get Image from gallery.
> [code]
> navigator.camera.getPicture(uploadPhoto, onGetPictureFail, {
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType : navigator.camera.PictureSourceType.PHOTOLIBRARY
> });
> [/code]
> return File URI In Nexus 5 OS 5.1 :
> "content://com.android.providers.media.documents/document/image%3A1778"
> return File URI in Samsung S III OS 4.4.2
> "content://media/external/images/media/186"
> due to this change FileTransfer doesn't upload file picked up from Nexus 5
> device. while same code working on other android kitkat devices includes
> windows phone
> Any help would be appreciated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]