Creating a Firefox OS App

Creating a Firefox OS App

Firefox OS - be the future


Firefox OS apps

What makes a great app?


Firefox marketplace

Firefox Marketplace

Work with others…

Foxkeh loves android

Defined by manifest

          "name": "My App",
          "description": "My elevator pitch goes here",
          "launch_path": "/",
          "icons": { "128": "/img/icon-128.png" },
          "developer": {
            "name": "Your name or organization",
            "url": ""

App manifest

Install apps from the web

        var installapp = navigator.mozApps.install(manifestURL);
        installapp.onsuccess = function(data) {
          // App is installed
        installapp.onerror = function() {
         // App wasn't installed, info is in 

Web APIs

WebAPI wiki

WebAPI Wiki

Web APIs (hosted apps)

  • Vibration API
  • Screen Orientation
  • Geolocation API
  • Mouse Lock API
  • Open WebApps
  • Network Information API
  • Battery Status API
  • Alarm API
  • Push Notifications API
  • WebFM API / FMRadio
  • WebPayment
  • IndexedDB
  • Ambient light sensor
  • Proximity sensor
  • Notification

Using WebAPIs to make the web layer more capable

Three levels of access…

  • Hosted apps - stored on your server, easy to upgrade, limited access.
  • Privileged apps - reviewed by the App store, packaged and signed
  • Certified apps - part of the OS, only by Mozilla and partners

App permissions

let's see…


that's all firefox