Thanks Kerri....
A couple of follow-ups (this is where current examples tend to leave
much left to the imagination)
1. I am running this from an app and would like to store the file
within the apps folder structure. When I connect the phone (in windows)
and navigate the file tree, I find a folder called (as I mentioned
before) \Phone\Android\data\com.valadd.mobile.common.todo\files Is
there a way, besides hard coding it, that I can locate that folder
relative to the app? Often I see this:
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,
onFileSytemSuccess, null);
which, through a series of callbacks walks file and folder information
(additional code not included here). I want to locate that "files"
folder in my app. Is that possible? Then when I have that path I want
the file to go there.
2. If I used var src = "cdvfile://localhost/persistent/file.3gp"; where
would I then find that file? What folder would it end up in?
3. There is also a "card" folder at the root when I view the phone's
storage which appears to be the sdcard inserted in the phone. You
prefaced your example with cdvfile:// does that set the root folder in a
certain location or is that just an example (or a typo)?
I am not picking on you, you have been very helpful, but my primary
complaint with posted examples is that the poster always seems to assume
the example is self explanatory. Yet even a small detail such as a
reference to cdvfile:// can set a noob like me down a long path of
fruitless searching (lots of examples using "cdvfile://" but none
explaining what it is...a Cordova convention but what?). Better to post
and then describe in detail what each component does. IOW: You can
never over-annotate a post.
Again thanks...I am just trying to wrap my head around the file access
API's and they still seem a bit foreign right now.