Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

NOT_FOUND error when saving photo from camera

$
0
0

@ultrasamad wrote:

I am using ionic cordova cameraplugin to take a photo. I used the File plugin to move the photo to an external storage location.

This is a snippet…

let extStorage = this. file.externalApplicationStorageDirectory;
let currentPath = this.file.applicationStorageDirectory +“files/”;

this.file.moveFile(currentPath, fileName, extStorage, newName);

I get NOT_FOUND error anytime I run my code. So my first thought is that the currentPath is not where the photo taken is located. Where do android stores photos taken with a camera temporarily? Please any ideas as to what is causing this?

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>