Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5288A181DF for ; Fri, 24 Apr 2015 20:17:39 +0000 (UTC) Received: (qmail 71806 invoked by uid 500); 24 Apr 2015 20:17:39 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 71778 invoked by uid 500); 24 Apr 2015 20:17:39 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 71752 invoked by uid 99); 24 Apr 2015 20:17:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 20:17:38 +0000 Date: Fri, 24 Apr 2015 20:17:38 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-6249) Camera fails to return an actual FILE_URI it always returns content:// MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511655#comment-14511655 ] Joe Bowser commented on CB-6249: -------------------------------- We now return a FileURI for the Camera because we have to write the file to the directory BEFORE we can even add it to the MediaStore to get a Content URI. This was fixed with CB-8740 > Camera fails to return an actual FILE_URI it always returns content:// > ---------------------------------------------------------------------- > > Key: CB-6249 > URL: https://issues.apache.org/jira/browse/CB-6249 > Project: Apache Cordova > Issue Type: Bug > Components: Android, Plugin Camera, Plugin File > Affects Versions: 3.4.0 > Environment: Current Node Version > v0.10.25 > Current Cordova CLI Version > 3.4.0-0.1.0 > Android > Reporter: Ralph S Theart > Assignee: Joe Bowser > Labels: camera, file > > No matter what I do I can not get a url of file:///... all I get is > {code} > content://media/external/images/media/1357 > {code} > Here is my very simple code.... > {code} > navigator.camera.getPicture(function(imageURI){ > console.log('GOT IMAGE: '+imageURI); > window.resolveLocalFileSystemURL(imageURI, function(entry){ > console.log(entry.name + " " +entry.fullPath); > }, function(e){ > console.log('Some error occured: '+e.code); > }); > }, onPhotoFail, { > destinationType: 1, > sourceType: pictureSource, > mediaType : Camera.MediaType.ALLMEDIA, > encodingType: 0, > allowEdit : false, > correctOrientation:true, > saveToPhotoAlbum: false, > quality: 50 > }); > {code} > I always get content://... for the returned path from camera and even the same thing when I resolve the url. Can you confirm this bug? -- 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