Firefox OS Perspective

58
Firefox OS August 02 2014 0

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

Page 1: Firefox OS Perspective

Firefox OS

August 02 2014 0

Page 2: Firefox OS Perspective

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.

Page 3: Firefox OS Perspective

FIREFOX

21% MARKET SHARE 450+ MILLION USERS OVER 80 LANGUAGES

August 02 2014

2 Firefox OS

Now, were going mobile…

Page 4: Firefox OS Perspective

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

Page 5: Firefox OS Perspective

PROMISES OF HTML5

August 02 2014 4

Page 6: Firefox OS Perspective

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…

Page 7: Firefox OS Perspective

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

Page 8: Firefox OS Perspective

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

Page 9: Firefox OS Perspective

Firefox OS today !

August 02 2014 8

Page 10: Firefox OS Perspective

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

Page 11: Firefox OS Perspective

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‖.

Page 12: Firefox OS Perspective

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‖.

Page 13: Firefox OS Perspective

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.‖

Page 14: Firefox OS Perspective

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.‖.

Page 15: Firefox OS Perspective

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.

Page 16: Firefox OS Perspective

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

Page 17: Firefox OS Perspective

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.

Page 18: Firefox OS Perspective

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.‖

Page 19: Firefox OS Perspective

Architecture

August 02 2014 18

Page 20: Firefox OS Perspective

August 02 2014 19

Page 21: Firefox OS Perspective

SECURITY

August 02 2014 20

Page 22: Firefox OS Perspective

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

Page 23: Firefox OS Perspective

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

Page 24: Firefox OS Perspective

Applications

August 02 2014 23 Firefox OS

Page 25: Firefox OS Perspective

App Permissions:

August 02 2014 24 Firefox OS

Page 26: Firefox OS Perspective

App Permissions:

August 02 2014 25 Firefox OS

Page 27: Firefox OS Perspective

Web APIs

August 02 2014 26

Page 28: Firefox OS Perspective

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

Page 29: Firefox OS Perspective

Battery Status API

August 02 2014 28 Firefox OS

Page 30: Firefox OS Perspective

SCREEN ORIENTATION API

August 02 2014 29 Firefox OS

Page 31: Firefox OS Perspective

Vibration API

August 02 2014 30 Firefox OS

Page 32: Firefox OS Perspective

Network Information API

August 02 2014

31 Firefox OS

Page 33: Firefox OS Perspective

☼ Ambient Light Events

August 02 2014 32 Firefox OS

Page 34: Firefox OS Perspective

Page Visibility

August 02 2014 33 Firefox OS

Page 35: Firefox OS Perspective

Contacts API

August 02 2014 34 Firefox OS

Page 36: Firefox OS Perspective

Web APIS (Privileged Apps)

• Device Storage API

• Browser API

• TCP Socket API

• Contacts API

• systemXHR

August 02 2014 35 Firefox OS

Page 37: Firefox OS Perspective

CERTIFIED APPS = THE OS

August 02 2014 36 Firefox OS

Page 38: Firefox OS Perspective

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)

Page 39: Firefox OS Perspective

Get a Photo !

August 02 2014 38 Firefox OS

Page 40: Firefox OS Perspective

App Distribution

August 02 2014 39 Firefox OS

Page 41: Firefox OS Perspective

App Distribution

August 02 2014 40 Firefox OS

Page 42: Firefox OS Perspective

Dynamic Search

August 02 2014 41 Firefox OS

Page 45: Firefox OS Perspective

Building Blocks

August 02 2014 44

Page 46: Firefox OS Perspective

Certified APPS Building Blocks

August 02 2014 45 Firefox OS

http://buildingfirefoxos.com

Page 47: Firefox OS Perspective

Mozilla Bricks

August 02 2014 46 Firefox OS

http://mozilla.github.io/brick

Page 48: Firefox OS Perspective

Whats Cooking ?

August 02 2014 47

Page 49: Firefox OS Perspective

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..

Page 50: Firefox OS Perspective

Appmaker

August 02 2014 49 Firefox OS

Video

Page 51: Firefox OS Perspective

Resources

August 02 2014 50

Page 52: Firefox OS Perspective

Developer Hub

August 02 2014 51 Firefox OS

https://marketplace.firefox.com/developers

Page 53: Firefox OS Perspective

Mozilla Developer Blog

August 02 2014 52 Firefox OS

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

Page 54: Firefox OS Perspective

Firefox OS Video Series

August 02 2014 53 Firefox OS

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

Page 55: Firefox OS Perspective

Firefox OS wiki

August 02 2014 54 Firefox OS

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

Page 56: Firefox OS Perspective

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)

Page 57: Firefox OS Perspective

PARTNERS

August 02 2014 56 Firefox OS

Page 58: Firefox OS Perspective

Firefox OS

August 02 2014

Ankit Gadgil @anknite [email protected]

Firefox OS India communications Lead Mozilla Reps Mentor