cordova - Where are files saved in PhoneGap app stored on Android? -


i using phonegap file plugin. able read & write files file system , persisted correctly. when try locate files native file explorer app on tablet or windows explorer (through usb connection), can't find traces of these files browsing folder phonegap claims store (tablet\android\data\com.xxx.yyy\files) nor search functionality. not have external cards attached android tablet. ideas how find files?

after studying android documentation storage options spotted intended behavior of internal storage used applications private data shouldn't possible read other applications accessing file system.

i have time thought external referred sd cards instead external storage described this

every android-compatible device supports shared "external storage" can use save files. can removable storage media (such sd card) or internal (non-removable) storage. files saved external storage world-readable , can modified user when enable usb mass storage transfer files on computer.

which seems exact behavior looking for. using cordova.file.externaldatadirectory, able store files on internal file system (not sd card) , see them in file explorer.

i think assumption of external storage referring sd card isn't totally unreasonable since file plugin has / directory cordova.file.externalrootdirectory in file system layout android. must have been thing made me think way.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -