[ https://issues.apache.org/jira/browse/CB-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008926#comment-14008926 ]
Roy Ackermann commented on CB-5398: ----------------------------------- Now i have installed cordova 3.5 and camera plugin 0.2.9 When i call {code:title=Code|borderStyle=solid} navigator.camera.getPicture(onSuccessGetPhoto, onFailCamera, { targetWidth: 1000,targetHeight: 1000, quality: 65, destinationType: Camera.DestinationType.FILE_URI , saveToPhotoAlbum: false , sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM, correctOrientation:true}); {code} i get the following error: {panel:title=error|titleBGColor=#FFFFCE|bgColor=#FFFFCE} Could get real path for URI string content://com.android.providers.media.documents/document/image%3A1415 {panel} The success callback and error callback will not be called. If i call the function again, the first and the second image will be processed. > Pick image from Library or Photo album on android 4.4 > ----------------------------------------------------- > > Key: CB-5398 > URL: https://issues.apache.org/jira/browse/CB-5398 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin Camera > Affects Versions: 2.9.0, 3.2.0 > Environment: android 4.4 > Reporter: julio cesar > Assignee: Mike Billau > Fix For: 3.5.0 > > > An android 4.4 try to pick a photo using pictureSource.PHOTOLIBRARY or > pictureSource.SAVEDPHOTOALBUM and return type destinationType.FILE_URI. > Now android 4.4, when you select the above options, it opens an "open from" > dialog that let you choose from new places as "Recent", "Drive", "Images" > and "Downloads" (the names might not be the same as I use the device in > spanish and translated it). > If you choose any of them, you get an error, AndroidProtocolHandler, unable > to open content URL: the url here with a content://com.android.providers > format. > I've tested on phonegap 2.9 because this is the version I use, but I suppose > it affects all of them. (in fact I use 2.9.1) -- This message was sent by Atlassian JIRA (v6.2#6252)