我正在使用Apache Cordova开发一个应用程序,并认识到应用程序拍摄的图像不会显示在库中
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function (fileSys) {
fileSys.root.getDirectory(_ImageFolder,
{ create: true, exclusive: false },
function (directory) {
entry.moveTo(directory, newFileName, successMove, resOnError);
},
resOnError);
图像保存到
file:///storage/emulated/0/Android/data/io.cordova.myApp/cache/1432130422117.jpg
那么有没有办法在画廊中展示它们?甚至可能在自己的文件夹中?