You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Muhammad Saifuddin (JIRA)" <ji...@apache.org> on 2015/04/20 14:01:01 UTC

[jira] [Created] (CB-8878) Nexus 5 DestinationType.FILE_URI issue OS 5.1

Muhammad Saifuddin created CB-8878:
--------------------------------------

             Summary: Nexus 5 DestinationType.FILE_URI issue OS 5.1
                 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org