Top Banner
Christian Heilmann (@codepo8) MobileTechCon 03/09/14 Berlin, Germany SO WHAT'S THE DEAL WITH FIREFOX OS
56

So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

Jan 15, 2015

Download

Engineering

This is a short talk about the current state of Firefox OS in the market and an explanation of the ideas behind the mobile operating system and its release.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

Christian Heilmann (@codepo8) MobileTechCon

03/09/14 Berlin, Germany

!

SO WHAT'S THE DEAL WITH FIREFOX OS

Page 2: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014
Page 3: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014
Page 4: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

FORM FACTORS CHANGE…

Page 5: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

THE PLATFORM WASN’T READY…

Page 6: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

FROM DOCUMENTS TO APPS…

Page 7: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

LOCKOUT

Page 8: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

NO FUN FOR YOU!

Page 9: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

03:12, 29 March 2012

Page 10: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

https://github.com/mozilla-b2g

Page 11: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

FIREFOX OS

Page 12: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

ARCHITECTURE

Linux/Gonk (ADB enabled)

Gecko rendering engine

Third Party HTML5 Apps

Web APIs / Web Actitivies

GAIA

Page 13: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

- + =

Page 14: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

PREDICTABLE HTML5 SUPPORT

Page 15: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

A QUICK LOOK BACK…

Page 16: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

I DIDN’T SEE MUCH FUTURE IN MY TOWN

Page 17: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HELLO WORLD…

Page 18: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HELLO WEB…

Page 19: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HELLO MONEY…

+

Page 20: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HELLO, WORLD!

Page 21: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HELLO SMARTPHONE!

Intex Cloud FX: Firefox OS 1.0 GHz processor 128 MB RAM expandable memory of up to 4GB. Dual-SIM Bluetooth Wi-Fi

1,999 Rupees ~ 25 Euro

Page 22: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HELLO SMARTPHONE!

The Spice Fire One Mi – FX 1 1 GHz processor, 2.5 G connectivity, 8.89 cm HVGA capacitive touch screen and 1.3MP primary camera + 0.3 MP front camera.

2,299 Rupees ~ 29 Euro

Page 23: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HINDI, TAMIL AND BANGLA…

Page 24: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

FIXING HTML ISSUES

Page 25: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014
Page 26: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

WEB APIS

Page 27: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

WEB APIS (FOR ALL)

Vibration API (W3C)

Screen Orientation

Geolocation API

Mouse Lock API (W3C)

Open WebApps

Network Information API (W3C)

Battery Status API (W3C)

Alarm API

Web Activities

Push Notifications API

WebFM API

WebPayment

IndexedDB (W3C)

Ambient light sensor

Proximity sensor

Notification

Page 28: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

BATTERY STATUS API

Page 29: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

BATTERY STATUS API

var battery = navigator.battery; if (battery) { var batteryLevel = Math.round(battery.level * 100) + "%", charging = (battery.charging)? "" : "not ", chargingTime = parseInt(battery.chargingTime / 60, 10), dischargingTime = parseInt(battery.dischargingTime / 60, 10); // Set events battery.addEventListener("levelchange", setStatus, false); battery.addEventListener("chargingchange", setStatus, false); battery.addEventListener("chargingtimechange", setStatus, false); battery.addEventListener("dischargingtimechange", setStatus, false); }

Page 30: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

SECURITY

Page 31: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

AVOIDING USER OVERLOAD…

http://smus.com/installable-webapps/

Page 32: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

APPLICATION MANIFEST{ "version": "1.0", "name": "MozillaBall", "description": "Exciting Open Web development action!", "icons": { "16": "/img/icon-16.png", "48": "/img/icon-48.png", "128": "/img/icon-128.png" }, "developer": { "name": "Mozilla Labs", "url": "http://mozillalabs.com" }, "installs_allowed_from": ["*"], "appcache_path": "/cache.manifest", "locales": { "es": { "description": "¡Acción abierta emocionante del desarrollo del Web!", "developer": { "url": "http://es.mozillalabs.com/" } } }, "default_locale": "en" }

Page 33: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

PERMISSIONS

"permissions": { "contacts": { "description": "Required for autocompletion in the share screen", "access": "readcreate" }, "alarms": { "description": "Required to schedule notifications" } }

Page 34: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

WHAT MAKES A GREAT HTML5 APP?

Page 35: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

DOES ONE THING AND ONE THING WELL!

Page 36: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

WORKS OFFLINE

Page 37: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

CROSS-PLATFORM

Page 38: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

INTEGRATED

https://hacks.mozilla.org/2014/03/better-integration-for-open-web-apps-on-android/

https://hacks.mozilla.org/2013/10/progress-report-on-cross-platform-open-web-apps/

Page 39: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

WHAT ABOUT FIREFOX-UNFRIENDLY PLATFORMS?

Page 40: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

ENTER CORDOVA

• Camera • Contacts • Device • Device-motion • Geolocation • Orientation • Vibration

Page 41: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

GOOD THINGS TO COME…

Page 42: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

EASY DISTRIBUTION

Page 43: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

FIREFOX OS MARKETPLACE

https://marketplace.firefox.com/

Page 44: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

INSTALL FROM THE WEB…

Page 45: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

USE WHATEVER EDITOR AND ENVIRONMENT YOU ARE HAPPY WITH!

Page 46: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

OR…

Page 47: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

OR…

https://www.youtube.com/watch?v=n8c34wk4OnY

JUST USE FIREFOX!

Page 48: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

IN 2014 THE BROWSER IS THE OUTPUT AND INPUT OF THE WEB.

Page 49: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

THERE IS NO BARRIER BETWEEN CONSUMPTION AND CREATION.

Page 50: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

https://www.youtube.com/watch?v=LemdYmcRrb0

Page 51: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

HOW CAN YOU SAY HELLO WORLD?

Page 52: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

GO LOW!

https://developer.mozilla.org/en-US/Apps/Build/Performance/Apps_for_low-memory_Firefox_OS_devices

Page 53: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

170 USD - world-wide shippinghttp://www.everbuying.com/product549652.html

HELLO DEVELOPER PHONE!

adjustable RAM 256MB to 1GB, Qualcomm Snapdragon 1.2GHZ dual-core processor 4.5-inch 854x480 pixel screen 5MP rear camera (autofocus,flash) 2MP front camera The dual-SIM 3G 8GB to 32GB SD RAM

Page 54: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

TWEAK, RESET, UPGRADE…

https://hacks.mozilla.org/2014/08/videos-getting-started-with-your-flame-device/

Page 55: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

THE WEB IS YOURS!

Page 56: So what's the Deal with Firefox OS - MobileTechCon Berlin 2014

THANKS! CHRIS HEILMANN @CODEPO8