Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

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
  • Paskiausią atsakymą parašė 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"