gap icon indicating copy to clipboard operation
gap copied to clipboard

FileSystem

Open ankaufma opened this issue 11 years ago • 1 comments

Don't know if it was neccasary but wrote my own Gap-FileSystem-API because on my Android i had problems with dart:html's window.requestFileSystem (s.th like webkitRequestFileSystem isn't supported) to read and write data to the native Filesystem of the device. So with dart:js i wrapped cordovas File/FileTransfer-PlugIn in my Dart code. Not very readable, not very nice but working fine for me. May be you can use some parts of https://github.com/ankaufma/GAP_FileSystemAPI for rikulo_gap. PS: It seems impossible for me to handle Cordova-Exceptions?! e.g. if a file/dir doesn't exist

ankaufma avatar Nov 14 '14 09:11 ankaufma

Thanks. I’ll take a look when I have time :-)

And about your question, I am sorry that i have no idea.

On Nov 14, 2014, at 5:04 PM, Andreas Kaufmann [email protected] wrote:

Don't know if it was neccasary but wrote my own Gap-FileSystem-API because on my Android i had problems with dart:html's window.requestFileSystem (s.th like webkitRequestFileSystem isn't supported) to read and write data to the native Filesystem of the device. So with dart:js i wrapped cordovas File/FileTransfer-PlugIn in my Dart code. Not very readable, not very nice but working fine for me. May be you can use some parts of https://github.com/ankaufma/GAP_FileSystemAPI for rikulo_gap. PS: It seems impossible for me to handle Cordova-Exceptions?! e.g. if a file/dir doesn't exist

— Reply to this email directly or view it on GitHub.

leafinity avatar Nov 16 '14 13:11 leafinity