Introducing

Firefox OS

What is Firefox OS

Firefox OS is an Open Platform for mobile Devices, built entirely on HTML5 and other open web standards which is free from the rules and restrictions of existing proprietary platforms

25% Market Share

450+ Million Users

Over 80 Languages

And We are going Mobile...

But...

Why HTML5?

  • In-built Distribution - the web
  • Simple technologies used by lots of developers
  • Evolution of existing practices
  • Open, independent, standardized

Promises of HTML5

No SDK is Required

How Real Is It?

  • Released in four countries - Spain, Poland, Venezuela & Colombia
  • 18 Mobile operator partners, 6 hardware partners
  • Hardware options - Alcatel One Touch Fire, ZTE Open, Geeksphone Keon, Geeksphone Peak
  • Aimed at emerging markets/low end market
  • Aimed to be an alternative to feature phones and unavailable closed environment
  • Open Source - it is all on GitHub

Firefox OS Today

Who's it For?

The Next Billion Smartphone Customers

Firefox OS is not iOS or Android

Firefox OS is designed to

"Give you the HTML5 functionality you want - it's finally the platform HTML5 deserves"

"Comparing Formula 1 car with a Range Rover - of Course the more powerful one will be faster"

Designed for Emerging Market

Firefox OS and partner Hardware is designed as a replacement for feature-phones

Full Access to Device's Features

Firefox OS aims to reframe the Open Web on mobile

Firefox OS Flame

official reference device for developing, testing, and debugging Firefox OS and open web apps

Architecture

So What is the Basic?

It is Basically...

Predictable HTML5 Support

Security

manifest.webapp

What is manifest.webapp?

It is a JASON file with a name and description for the app, and it can also contain the origin of the app, icons, and the permissions required by the app, among other things 

Application Manifest

Applications

Application Permission

Web Apps:

These only have a basic level of permissions and don't have access to privileged or internal APIs

Privileged Apps:

These have all types of permissions of web apps plus more...

Hosted app can't be privileged

Internal Apps:

These have all the permissions of Privileged and web apps and many more...

Example

Permission - Alarm API

Alarm API is not privileged/certified, you should still include permissions and entries in your manifest.webapp file when including it in an installable web app

What is the Code?

Here it is...

Web APIs

The List...

Vibration API (W3C)

Screen Orientation

Geolocation API

Mouse lock API (W3C)

Open Web Apps

Network Information API (W3C)

Battery Status API (W3C)

The List continues...

Alarm API

Web Activities

Push Notifications API

WebFM API

WebPayment

IndexedDB (W3C)

Ambient Light sensor

Proximity Sensor Notification

Battery Status API

Code...

Screen Orientation API

Using DOMString Argument

Using Array Argument

Vibration API

Code...

Network Information API

Code...

Ambient Light Events

Code...

Page Visibility

Code...

Web APIs

(Privileged Apps)

List...

Device Storage API

Browser API

TCP Socket API

Contacts API

systemXHR

Contact API

Code...

Web APIs

(Certified Apps)

List...

WebTelephony

WebSMS

Idle API

Settings API

Power Management API

Mobile Connection API

Wi-Fi Information API

List Continues...

WebBluetooth

Permission API

Network Stats API

Camera API

Time/Clock API

Attention Screen

Voice Mail

Certified Apps

List...

Dialer

Contacts

Settings

SMS

Web Browser

Gallery

Video Player

Music Player

E-mail (POP, IMAP)

Calendar

Alarm Clock

Camera

Notes

First run Experience

Notifications

Home Screen

Mozilla Marketplace

System Updater

Localization Support

Web Activities

Get A Photo...

Firefox OS+Android

Application Distribution

Firefox OS Marketplace

Dynamic App Web Search

Development Environment

Firefox OS Boilerplate App

github.com/robnyman/Firefox-OS-Boilerplate-App

Firefox OS Simulator

addons.mozilla.org/firefox/addon/firefox-os-simulator

Prototyping with JSFiddle

  • Write your code as a JSFiddle
  • Append /webapp.manifest to your fiddle URL and paste this lnik into the Firefox OS Simulator to install the app
  • Alternatively, append /fxos.html to your Fiddle URL to get an install page like a typical Firefox OS hosted application

Process

Building Blocks

buildingfirefoxos.com

buildingfirefoxos.com

Certified Apps Building Blocks

More APIs...

List...

Resource Lock API

UDP Datagram Socket API

Peer to Peer API

WebNFC

WebUSB

Calendar API

Spell Check API

LogAPI

Keyboard/IME API

WebRTC

FileHandle API

Sync API

HTTP-cache API

Resources

marketplace.firefox.com/developers/

hacks.mozilla.org/category/firefox-os

hacks.mozilla.org/category/videoseries

developer.mozilla.org/Firefox_OS

Stay Lean

No Software License Fee

No restriction on ways to monetize applications

And Most Importantly

Lower Costs

Bigger Margins

More Efficiency

Our Partners

@technoayan

Made with Slides.com