Crosswalk built-in support native file system API, is not standard as Cordova did, you could follow https://github.com/crosswalk-project/crosswalk/blob/master/experimental/native_file_system/native_file_system_api_browsertest.html.
Shawn is owner of this API, you could ask him directly. Thanks, Halotn. > -----Original Message----- > From: Crosswalk-help > [mailto:[email protected]] On Behalf Of > Christian Bauer > Sent: Thursday, April 16, 2015 8:02 PM > To: [email protected] > Subject: [Crosswalk-help] Storage location for File System API > > Hi, > > I'm experimenting with Crosswalk on Android (later want to try iOS) and I'm > not > sure I can and should use the "deprecated" File System API. > > I'm trying to live without Cordova and use the "standard" APIs. > > My example is this: > https://github.com/crosswalk-project/crosswalk-test-suite/blob/f07249cd48ce > ad7ba996f0ee727510275dbd9cab/misc/xwalk-system-tests/tests/fileapipersis > tent/res/index.html > > (The test code might actually be broken now, I've had to replace > window.requestFileSystem, etc.) > > Where is the test file stored on the Android local filesystem? In other > words, if > you look at Cordova file system layouts, what is the path used by plain > Crosswalk: http://plugins.cordova.io/#/package/org.apache.cordova.file > > Is it effectively "cordova.file.dataDirectory"? > > That would work for me since I have application-private data, although an > option to switch to "cordova.file.externalDataDirectory" would be nice for > Crosswalk Android. > > Thanks, > Christian > _______________________________________________ > Crosswalk-help mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
