boot2gecko and the webapis
DESCRIPTION
These are the slides from my Fluent 2012 Ignite talk on Boot2Gecko :: http://www.youtube.com/watch?v=M07M6n5GXZETRANSCRIPT
![Page 1: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/1.jpg)
boot2gecko
Photo by Zanthiahttp://www.flickr.com/photos/zanthia/5250887653/
![Page 2: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/2.jpg)
Photo by Omar_Gurnahhttp://www.flickr.com/photos/omargurnah/3088804341/
Building a
complete, standalone
operating system for the open web
boot2gecko
![Page 3: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/3.jpg)
boot2gecko
The WEBis the PLATFORM
Making Web Apps First Class Citizens
Photo by geezaweezerhttp://www.flickr.com/photos/geezaweezer/5188698289/
![Page 4: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/4.jpg)
boot2gecko
New APIs PriviledgedModel
Open Web Apps
Photo by Geir Halvorsenhttp://www.flickr.com/photos/damiel/17399076/
![Page 5: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/5.jpg)
boot2gecko
Photo by Alesa Damhttp://www.flickr.com/photos/alesadam/3869366195/
GAIAThe user interface
of B2G
GONKThe low level OS
for B2GGECKOThe application runtime
of B2G
![Page 6: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/6.jpg)
boot2gecko
IDLJavaScript <> C++Gecko hal
hardware abstraction layer
JavaScriptnavigator.vibrate(2000);
Photo by gfpeckhttp://www.flickr.com/photos/44442915@N00/4667535253/
![Page 7: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/7.jpg)
boot2gecko
Photo by GirlieMachttp://www.flickr.com/photos/girliemac/6509400771/
We're Bursting With APIs
41
New
APIs!!
![Page 8: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/8.jpg)
boot2gecko
status : most work donePhoto by Rev Dan Catthttp://www.flickr.com/photos/revdancatt/535514134/
Controlcall, answer,
hangup
web telephony API
Call Statedialing, busy,
incoming, ringing
![Page 9: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/9.jpg)
boot2gecko
Photo by TOKY Branding and Designhttp://www.flickr.com/photos/toky/2487011520/
ContactFindOptionsfind, filter,
sort contacts
ContactsManagerfind, clear,
save, remove
status : v1 done, w/o v2web telephony API
![Page 10: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/10.jpg)
boot2gecko
Photo by fazenhttp://www.flickr.com/photos/fazen/103385722/
Interactfind, filter,
view messages
Controlsend, delete,
find
status : v1 done, w/o v2web sms API
![Page 11: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/11.jpg)
boot2gecko
Photo by Viking KARWURhttp://www.flickr.com/photos/vikingkarwur/7123548037/ status : done
screen orientation
Detectscreen orientation,primary orientation.
Controlscreen orientation
lock.
![Page 12: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/12.jpg)
boot2gecko
Photo by wolfgangfotohttp://www.flickr.com/photos/wolfgangfoto/2264986176/ status : in progress
camera API
Controltake picture, start and stopvideo recording, auto focus,
set quality, thumb size
Capabilitiespicture size, video size,
zoom supported, effects,flash modes...
![Page 13: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/13.jpg)
boot2gecko
Photo by wolfgangfotohttp://www.flickr.com/photos/wolfgangfoto/2264986176/ status : in progress
camera API
boot2gecko
Photo by wolfgangfotohttp://www.flickr.com/photos/wolfgangfoto/2264986176/
Battery Statuscharging, battery level,battery life remaining,
change events
Network Infoestimated bandwidth
ex. 3G, metered
Power Mgmtscreen on/off, brightness,
lock state
![Page 14: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/14.jpg)
boot2gecko
Photo by Stuck in Customshttp://www.flickr.com/photos/stuckincustoms/412877337/ status : public preview
open web apps
MARKETPLACEease of discovery| available on desktop and mobile | in app payments
![Page 15: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/15.jpg)
boot2gecko
Photo by Stuck in Customshttp://www.flickr.com/photos/stuckincustoms/412877337/ status : public preview
open web apps
Write AppsHTML, CSS, JavaScript
Free/Selldesktop and mobile
DeployNo packaging,
one simple manafest,install direct
![Page 16: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/16.jpg)
boot2gecko
Photo by William Quivigerhttp://www.flickr.com/photos/28959625@N04/6120450372/
Code FeedbackWrite apps,
contribute to Gaia,contribute to B2G
Give your input on APIs,request features, test
and log bugs
UseUse Marketplace,Use the Web API,
Use B2G
![Page 17: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/17.jpg)
boot2gecko
Photo by Joe Azurehttp://www.flickr.com/photos/joe-azure/6302790910/
Setup a dev environment and flash a
device.
ASK ME HOW
Want to focus on web apps? Don't wanna flash?
NightlyEverything is on Github
or theWiki
OPEN
![Page 18: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/18.jpg)
boot2gecko
Photo by Joe Azurehttp://www.flickr.com/photos/joe-azure/6302790910/
Setup a dev environment and flash a
device.
ASK ME HOW
Want to focus on web apps? Don't wanna flash?
NightlyEverything is on Github
or theWiki
OPEN
Follow @Boot2Gecko on Twitter
Join platform mailing list: http://groups.google.com/group/mozilla.dev.platform
Join in on IRC: irc.mozilla.org channel #B2G
![Page 19: Boot2Gecko And The WebAPIs](https://reader033.vdocument.in/reader033/viewer/2022060108/554f91adb4c905d25b8b5229/html5/thumbnails/19.jpg)
boot2gecko
Photo by Joe Azurehttp://www.flickr.com/photos/joe-azure/6302790910/
B2G Repo: https://github.com/mozilla-b2g/B2G
B2G Architecture: https://wiki.mozilla.org/B2G/Architecture
Gaia Repo: https://github.com/mozilla-b2g/gaia
Developer Docs: https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko
Web API Docs: https://wiki.mozilla.org/WebAPI
Drop me a mail: [email protected]