Unable to delete file using cordova?
<p>I am saving my file here : <code>/storage/emulated/0/myApp/helloworld.wav</code></p>

<p>I am trying to delete this file </p>

<pre><code>        window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, successCallback, errorCallback)

        function successCallback(fs) {
            fs.root.getFile('/storage/emulated/0/myApp/helloworld.wav', {
                create: false
            }, function(fileEntry) {
                fileEntry.remove(function() {
                    alert('File removed.');
                }, errorCallback);
            }, errorCallback);
        }

        function errorCallback(error) {
            alert("ERROR: " + error.code)
        }
</code></pre>

<p>It does not delete the file and always returns <code>error code 1</code> (not found).  Can anybody help me in pointing what is wrong.</p>

<p>when I check from file manager,this is where my file is physically : <code>/storage/emulated/0/myApp/helloworld.wav</code> but it always return error code 1</p>