Firefox OS Perspective

Post on 12-May-2015

186 views 4 download

Tags:

description

Introduction, Aspects, The Why-What , APIs and a lot more about Mozilla's Firefox OS Credits: Christian Heilmann (http://christianheilmann.com/)

Transcript of Firefox OS Perspective

Firefox OS

August 02 2014 0

What is Firefox OS ?

August 02 2014 1

Firefox OS is an open platform for mobile Devices, built entirely using HTML5 and other open Web standards which is free from the rules and restrictions of existing proprietary platforms.

FIREFOX

21% MARKET SHARE 450+ MILLION USERS OVER 80 LANGUAGES

August 02 2014

2 Firefox OS

Now, were going mobile…

WHY USE HTML5?

August 02 2014 3

In-built distribution - the web Simple technologies used by lots of developers Evolution of existing practices Open, independent, standardized PROMISES OF HTML5

PROMISES OF HTML5

August 02 2014 4

How Real is it?

August 02 2014 5

• Released in four countries: Spain, Poland, Venezuela and Columbia (more to come very soon) •18 mobile operator partners, 6 hardware partners

• Hardware options: Alcatel One Touch Fire, ZTE Open, Geeksphone Keon, Geeksphone Peak…

How Real is it - 2 ?

August 02 2014 6

• Aimed at emerging markets/low end market

• Aimed to be an alternative to feature phones and unavailable closed environments.

• Open source - it is all on GitHub

How Real is it - 2 ?

August 02 2014 7

• Aimed at emerging markets/low end market

• Aimed to be an alternative to feature phones and unavailable closed environments.

• Open source - it is all on GitHub

Firefox OS today !

August 02 2014 8

WHO’S IT FOR?

THE NEXT BILLION SMARTPHONE CUSTOMERS

August 02 2014 9 Firefox OS

Giving rapidly emerging markets (with focus on Latin America) a rare opportunity to leapfrog

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‖

August 02 2014 10 Firefox OS

―comparing a Formula 1 car with a Range Rover—of course the more powerful one will be faster‖.

Designed for Emerging Markets

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

August 02 2014 11 Firefox OS

―The main idea is to get people who only have access to SMS messages and Snake into the world of HTML5 apps and Cut The Rope, but without breaking the bank‖.

Firefox OS hardware is not cutting edge

But, Firefox OS is likely to be the first impression millions of people have of the internet.

August 02 2014 12 Firefox OS

―Making it so people can perform the tasks they need to is more important than using the newest, coolest 3D transformations.‖

Full access to a device’s features

August 02 2014 13 Firefox OS

―Much of the point of Firefox OS is in enabling access via HTML5 to all aspects of a device, including the camera.‖.

Relatively simple to create and rework content on.

Firefox OS is built on web standards.

August 02 2014 14 Firefox OS

Meaning if you can create an HTML5 website, you can build for Firefox OS.

The dynamic app search

The Firefox OS dynamic app search goes beyond the Marketplace, turning relevant mobile sites into trials.

August 02 2014 15 Firefox OS

Firefox OS is there to make people money

Mozilla itself is not-for-profit,

August 02 2014 16 Firefox OS

But the company wants people and partners to profit from the system.

Firefox OS aims to reframe the open web on mobile

― promote openness, innovation and opportunity on the web ―

August 02 2014 17 Firefox OS

―It’s exciting to go into a market and say open can work and it can be a massive differentiator for providers, users and developers.‖

Architecture

August 02 2014 18

August 02 2014 19

SECURITY

August 02 2014 20

manifest.webapp

It is a JSON 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.

August 02 2014 21 Firefox OS

Your app might need more than just a minimal manifest..

{ "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" }

August 02 2014 22 Firefox OS

Applications

August 02 2014 23 Firefox OS

App Permissions:

August 02 2014 24 Firefox OS

App Permissions:

August 02 2014 25 Firefox OS

Web APIs

August 02 2014 26

List

• Vibration API (W3C)

• Screen Orientation

• Geolocation API

• Mouse Lock API (W3C)

• Open WebApps

• Network Information API (W3C)

• Battery Status API (W3C)

August 02 2014 27 Firefox OS

• Alarm API

• Web Activities

• Push Notifications API

• WebFM API

• WebPayment

• IndexedDB (W3C)

• Ambient light sensor

• Proximity sensor Notification

Battery Status API

August 02 2014 28 Firefox OS

SCREEN ORIENTATION API

August 02 2014 29 Firefox OS

Vibration API

August 02 2014 30 Firefox OS

Network Information API

August 02 2014

31 Firefox OS

☼ Ambient Light Events

August 02 2014 32 Firefox OS

Page Visibility

August 02 2014 33 Firefox OS

Contacts API

August 02 2014 34 Firefox OS

Web APIS (Privileged Apps)

• Device Storage API

• Browser API

• TCP Socket API

• Contacts API

• systemXHR

August 02 2014 35 Firefox OS

CERTIFIED APPS = THE OS

August 02 2014 36 Firefox OS

List – Certified Apps

• Dialer Alarm Clock

• Contacts

• Camera

• Settings

• Notes

• SMS

• First Run Experience

• Web browser

•Localization

• Support Calendar

August 02 2014 37 Firefox OS

• Notifications

• Gallery Home

• Screen

• Video Player

• Mozilla Marketplace

• Music Player

• System Updater

• E-mail (POP, IMAP)

Get a Photo !

August 02 2014 38 Firefox OS

App Distribution

August 02 2014 39 Firefox OS

App Distribution

August 02 2014 40 Firefox OS

Dynamic Search

August 02 2014 41 Firefox OS

Building Blocks

August 02 2014 44

Certified APPS Building Blocks

August 02 2014 45 Firefox OS

http://buildingfirefoxos.com

Mozilla Bricks

August 02 2014 46 Firefox OS

http://mozilla.github.io/brick

Whats Cooking ?

August 02 2014 47

More Web APIs

• Resource lock API

• Spellcheck API

• UDP Datagram Socket API

• LogAPI

• Peer to Peer API

• Keyboard/IME API

• WebNFC

• WebRTC

August 02 2014 48 Firefox O

• WebUSB

• FileHandle API

• HTTP-cache API • Sync API

• Calendar API

• And many more to come..

Appmaker

August 02 2014 49 Firefox OS

Video

Resources

August 02 2014 50

Developer Hub

August 02 2014 51 Firefox OS

https://marketplace.firefox.com/developers

Mozilla Developer Blog

August 02 2014 52 Firefox OS

https://hacks.mozilla.org/category/firefox-os

Firefox OS Video Series

August 02 2014 53 Firefox OS

https://hacks.mozilla.org/category/videoseries

Firefox OS wiki

August 02 2014 54 Firefox OS

https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS

STAY LEAN

LOWER COSTS BIGGER MARGINS MORE EFFICIENCY

August 02 2014 55 Firefox OS

No software license fees No restrictions on ways to monetize apps Less time and costs spent to transfer apps across platforms and devices (due to transferable HTML5 language)

PARTNERS

August 02 2014 56 Firefox OS

Firefox OS

August 02 2014

Ankit Gadgil @anknite ankitgadgil@gmail.com

Firefox OS India communications Lead Mozilla Reps Mentor