[
https://issues.apache.org/jira/browse/CB-11988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-11988.
-----------------------------
Resolution: Not A Problem
I'm guessing that my comment fixed the issue, if it didn't, please reopen.
> 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: [email protected]
For additional commands, e-mail: [email protected]