Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2FE62200BB2 for ; Sat, 15 Oct 2016 00:13:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2EBF2160AFB; Fri, 14 Oct 2016 22:13:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7DE93160ADD for ; Sat, 15 Oct 2016 00:13:21 +0200 (CEST) Received: (qmail 16211 invoked by uid 500); 14 Oct 2016 22:13:20 -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 16166 invoked by uid 99); 14 Oct 2016 22:13:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 22:13:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 890FA2C4C73 for ; Fri, 14 Oct 2016 22:13:20 +0000 (UTC) Date: Fri, 14 Oct 2016 22:13:20 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11988) I used the moveTo() and can not locate the saved image MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Oct 2016 22:13:22 -0000 [ https://issues.apache.org/jira/browse/CB-11988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576674#comment-15576674 ] Joe Bowser commented on CB-11988: --------------------------------- You did notice that you set saveToPhotoAlbum to false, right? If you do that, it won't save anything to the gallery. > I used the moveTo() and can not locate the saved image > ------------------------------------------------------ > > Key: CB-11988 > URL: https://issues.apache.org/jira/browse/CB-11988 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.3.0 > Reporter: Lucas Costa > Priority: Minor > > I'm trying to save the picture in a specific folder in sdcard > Everything is ok, however the picture does not appear in the gallery android > bq. navigator.camera.getPicture(getImageURI, function (message) { > alert('Image Capture Failed'); > }, { > quality: 100, > destinationType: Camera.DestinationType.FILE_URL, > sourceType : Camera.PictureSourceType.CAMERA, > saveToPhotoAlbum: false > }); > function getImageURI(imageUri) { > var gotFileEntry = function (fileSystem) { > bq. fileSystem.getDirectory("Marmovix", {create: true, exclusive: false}, moveFile); > }; > function moveFile(dirEntry) { > bq. window.resolveLocalFileSystemURL(imageUri, function (fileEntry) { > fileEntry.moveTo(dirEntry, "Marmovix.png", success, fsFail); > }, fsFail); > }; > window.resolveLocalFileSystemURL(cordova.file.externalRootDirectory, gotFileEntry, fsFail); -- 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