How do I write a file to the SD card from a mozilla plug-in or extension?
Is it possible to write a file to external storage on an Android device from a browser plug-in or extension?
Is it possible to write a file to external storage on an Android device from a browser plug-in or extension?
All Replies (2)
Just to clarify, I don't want to change the default download location, I just want to be able to write to a text file on the SD card/external storage.
I found the answer here https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/io_text-streams. I just set the write location to "/mnt/sdcard"