Hi
I have some data in my App and I would like to save this data in any format file.
I Would like to open this file like pdf in the same device or save in other format for send and print it.
It's possible this or something like?
Thanks you
Hi
I have some data in my App and I would like to save this data in any format file.
I Would like to open this file like pdf in the same device or save in other format for send and print it.
It's possible this or something like?
Thanks you
Hi Jordi,
You can use this: https://github.com/eligrey/FileSaver.js
Thank you Katya
This is awesome, I can save .csv too !
Hi again
I have problems with this. This work nice in web browser but don't save nothing in Device.
There are any other option for save files in device or any solution for the first code?
Thanks
Hi Jordi,
Take a look at here please:
https://getsatisfaction.com/apperyio/...
Hi Katya,
This example is for downlad pdf file. I need to create new csv, txt, something like this.
Now with the first link I can create csv/txt file but only work in web browser.
I tested in device but don't download nothing, possible is for the route, I don't undersand all these code
I need to create csv or txt in Device and saving the local data of App in it. There are any example or something like?
Thanks for your time
Jordi,
What is your device and OS version?
https://getsatisfaction.com/apperyio/...
Tablet Google Nexus 10 Android 4.4.2
Motorola G Android 4.4.2
I will try this example
Jordi,
Let us know about the result please.
I tryed the examples of LocalFileSystem and I have problems in device and web browser have problems:
With:
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,nFileSystemSuccess, fail);
Error: Uncaught ReferenceError: LocalFileSystem is not defined
With:
window.resolveLocalFileSystemURI("file:///example.txt", onResolveSuccess, fail);
Error: Uncaught TypeError: Object [object global] has no method 'resolveLocalFileSystemURI
I'm so bad with this, sorry