For quite some time, I use Phonegap for our app that takes pictures and finally sends them to the server. Until recently, we used Phonegap 1.4 and everything went well.
Now I first switched to 2.2 then 2.5, but am always having problems in accessing the picture after it has been taken. The camera is responding with the file URI, but when I try to access the file, I always get an error 5.
fileSystem.root.getFile(file, {create: false}, ideaCommitCopyFileEntryToLocal, failOpenFile);
Now I am looking for advice, what is going wrong. Any ideas?