In PhoneGap, I use
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onFileSystemSuccess, fail);
to access the file system.
In my ASUS tablet, it has no external sdcard
(I don't insert any removable device) so I think the file system root points to the internal sdcard
. However, in my HTC Desire HD, the data was written to the external sdcard
. (Since the data just reside in the microSD card.)
So what is the truth? I can't see any clues in the W3C document, maybe I miss something...
PS: Both the android version are ICS(Ice cream sandwich).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…