cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Muhammad Saifuddin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8878) Nexus 5 DestinationType.FILE_URI issue OS 5.1
Date Mon, 20 Apr 2015 12:01:01 GMT
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


Mime
View raw message