Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I write a file to the SD card from a mozilla plug-in or extension?

  • 2 replies
  • 4 have this problem
  • 1 view
  • Last reply by johns4ta

more options

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)

more options

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.

more options

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"