Firefox OS App development

Martin Stransky <stransky@redhat.com>

Firefox OS App development

Session target

  • Learn about Firefox OS
  • Create your own Firefox OS application
  • ...and...

Why Firefox OS?

  • It's new - you can be the first one
  • It's fast - do it today
  • It's easy - HTML+JS
  • It's free - don't need to ask anyone to publish your app

Firefox OS vs. Android

  • No hw back button - app provides it
  • Applications can't quit
  • Multitasking (gestures)

App types

Developer's How-To

  • Firefox 33
    • Responsible mode, debugger
    • Application manager
    • Firefox OS simulator (1.2)
    • ADB and real device
  • webapp.manifest + html page
    • My first app

How to deliver it?

Application templates

How to design and develop?

Convert from C/C++

  • asm.js - hi-speed JS subset, generated by tools
  • Emscripten - convert C/C++ (LLVM) to JS (asm.js)

Questions?

Ask me at <stransky@redhat.com>

Slides & demo: https://github.com/stransky