Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started Contributing to Firefox OS

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Getting Started Contributing to Firefox OS

Talk by Benjamin Kerensa and Alex Lakatos presented at O'Reilly Open Source Convention 2014.

Avatar for Benjamin Kerensa

Benjamin Kerensa

July 22, 2014

Other Decks in Programming

Transcript

  1. Why Firefox OS • 1.2 billion people without access to

    smartphones or tablets • Eliminate price sensitivity barrier • Empower people worldwide to build the Open Web • Create a platform where Open Web technologies are a first class citizen
  2. Manifest File { "name": "My App", "description": "My elevator pitch

    goes here", "launch_path": "/index.html", "icons": { "128": "/img/icon-128.png" }, "developer": { "name": "Your name or organization", "url": "http://your-homepage-here.org" }, "default_locale": "en" }
  3. Battery API var b = navigator.battery; if (b) { var

    level = Math.round(b.level * 100) + "%", charging = (b.charging) ? "" : "not ", chargeTime = parseInt(b.chargingTime / 60, 10), dischargeTime = parseInt(b.dischargingTime/60,10); b.addEventListener("levelchange", show); b.addEventListener("chargingchange", show); b.addEventListener("chargingtimechange", show); b.addEventListener("dischargingtimechange", show); }