PirateBox + Firefox OS = PirateFox

Peter Rukavina

I built a cool little app called PirateFox that knits together my two digital distractions of the moment, Firefox OS and PirateBox.

The app has a simple function: to share images, audio and video from a mobile phone to a nearby PirateBox. Firefox OS has an API called Web Activities than make this relatively easy to implement; it looks like this when it’s in action:

That’s a screen shot of my Firefox OS phone’s gallery app: I tap on the “share” icon and up pops a menu of sharing options, including, once my app is installed, “PirateFox.”  I tap PirateFox and the image gets automagically sent to the PirateBox I’m connected to.

You can grab the source for PirateFox and install it on your Firefox OS phone; if you don’t have a Firefox OS phone, you might look at the code anyway as an example of how to upload a file through a handcrafted XMLHttpRequest of multipart/form-data, something that works around an issue with the current version of Firefox OS that’s eventually going to be fixed.

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, listen to audio I’ve posted, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). 

You can subscribe to an RSS feed of posts, an RSS feed of comments, or a podcast RSS feed that just contains audio posts. You can also receive a daily digests of posts by email.

Search