SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Una tarde con ...




                           FIREFOX OS
Thursday, 20 December 12
GRACIAS!




Thursday, 20 December 12
Hola! Soy Francisco Jordano




Thursday, 20 December 12
Thursday, 20 December 12
La Web es la Plataforma




Thursday, 20 December 12
El proyecto Boot to Gecko (B2G)
                           fue concebido para llevar la
                           Web como plataforma a
                           dispositivos mobiles.




Thursday, 20 December 12
Vamos a cocinar nuestro SO


Thursday, 20 December 12
Gaia
                               UI based on open web
                                    technologies


                           Gecko
                             Magic engine + new APIs



                           Gonk
                            Solid linux kernel + drivers ...




Thursday, 20 December 12
GONK




Thursday, 20 December 12
GECKO




Thursday, 20 December 12
Web APIS ...




                Web APIS everywhere
Thursday, 20 December 12
Web APIS
            Extending the capabilities of the web.

         Mobi
             le Co
                  nnect
                       ion
                                                Contacts
                                            y
                                    Telephon
             Settings
                                                    s
                                             Payment
                                Browser
                           We
                             bS
                               MS          Pow
            ns                                  er M
   Permissio                                         ana
                                                        gem
         FM                                                ent
             Ra                                    s
               dio                    Web Activitie



Thursday, 20 December 12
https://wiki.mozilla.org/WebAPI




Thursday, 20 December 12
WEBTELEPHONY




Thursday, 20 December 12
// Telephony object
                           var tel = navigator.mozTelephony;

                           // Check if the phone is muted (read/write property)
                           console.log(tel.muted);

                           // Check if the speaker is enabled (read/write property)
                           console.log(tel.speakerEnabled);




Thursday, 20 December 12
// Place a call
                           var cal = tel.dial(“123456789”);




Thursday, 20 December 12
WEBSMS




Thursday, 20 December 12
// SMS object
                           var sms = navigator.mozSMS;

                           // Send a message
                           sms.send("123456789", "Hello world!");




Thursday, 20 December 12
// Recieve a message
                           sms.onreceived = function (event) {
                              // Read message
                              console.log(event.message);
                           };




Thursday, 20 December 12
BATTERY
                           STATUS API




Thursday, 20 December 12
var battery = navigator.mozBattery
                           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);
                           }




Thursday, 20 December 12
CONTACTS API




Thursday, 20 December 12
var contact = new mozContact();
                           contact.init({name: "Tom"});

                           var request = navigator.mozContacts.save(contact);
                           request.onsuccess = function() {
                              console.log("Success");
                           };

                           request.onerror = function() {
                              console.log("Error")
                           };




Thursday, 20 December 12
NETWORK
                           INFORMATION
                           API




Thursday, 20 December 12
var connection =
                           window.navigator.mozConnection,
                             online = connection.bandwidth > 0,
                             metered = connectrion.metered;




Thursday, 20 December 12
GAIA




Thursday, 20 December 12
Thursday, 20 December 12
Hora de aventuras!




Thursday, 20 December 12
Aplicaciones para Firefox OS



        ... perdón ... aplicaciones para la Web!




Thursday, 20 December 12
Open Web Apps API
                           {
                               "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/"
                                   }
                                 },
                                 "it": {
                                   "description": "Azione aperta emozionante di sviluppo di fotoricettore!",
                                   "developer": {
                                     "url": "http://it.mozillalabs.com/"
                                   }
                                 }
                               },
                               "default_locale": "en"
                           }


Thursday, 20 December 12
Con las manos en la masa




                           Nightly   B2G   R2D2B2G



Thursday, 20 December 12
A colaborar se ha dicho!



                           https://github.com/mozilla-b2g/gaia



                            irc.mozilla.org #b2g, #gaia, #webapi


                           https://lists.mozilla.org/listinfo/dev-gaia




Thursday, 20 December 12
Muchas gracias!




                twitter://mepartoconmigo   github://arcturus
Thursday, 20 December 12

Más contenido relacionado

Similar a Sevillajs: Una tarde con Firefox OS

Websockets, Ruby y Pusher Webprendedor 2010
Websockets, Ruby y Pusher Webprendedor 2010Websockets, Ruby y Pusher Webprendedor 2010
Websockets, Ruby y Pusher Webprendedor 2010
Ismael Celis
 
WebSocket JSON Hackday
WebSocket JSON HackdayWebSocket JSON Hackday
WebSocket JSON Hackday
Somay Nakhal
 
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPAIntegrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Cheng Ta Yeh
 
Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W...
 	Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W... 	Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W...
Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W...
Robert Nyman
 

Similar a Sevillajs: Una tarde con Firefox OS (20)

Scala in hulu's data platform
Scala in hulu's data platformScala in hulu's data platform
Scala in hulu's data platform
 
Give Responsive Design a Mobile Performance Boost
Give Responsive Design a Mobile Performance BoostGive Responsive Design a Mobile Performance Boost
Give Responsive Design a Mobile Performance Boost
 
Websockets, Ruby y Pusher Webprendedor 2010
Websockets, Ruby y Pusher Webprendedor 2010Websockets, Ruby y Pusher Webprendedor 2010
Websockets, Ruby y Pusher Webprendedor 2010
 
Augmented Reality with JavaScript and Appcelerator Titanium
Augmented Reality with JavaScript and Appcelerator TitaniumAugmented Reality with JavaScript and Appcelerator Titanium
Augmented Reality with JavaScript and Appcelerator Titanium
 
Everything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the WebEverything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the Web
 
ContainerDays NYC 2016: "OpenWhisk: A Serverless Computing Platform" (Rodric ...
ContainerDays NYC 2016: "OpenWhisk: A Serverless Computing Platform" (Rodric ...ContainerDays NYC 2016: "OpenWhisk: A Serverless Computing Platform" (Rodric ...
ContainerDays NYC 2016: "OpenWhisk: A Serverless Computing Platform" (Rodric ...
 
A New Baseline for Front-End Devs
A New Baseline for Front-End DevsA New Baseline for Front-End Devs
A New Baseline for Front-End Devs
 
SenchaLabs Connect & Express
SenchaLabs Connect & ExpressSenchaLabs Connect & Express
SenchaLabs Connect & Express
 
Migrando do App Engine para o Heroku
Migrando do App Engine para o HerokuMigrando do App Engine para o Heroku
Migrando do App Engine para o Heroku
 
a Running Tour of Cloud Foundry
a Running Tour of Cloud Foundrya Running Tour of Cloud Foundry
a Running Tour of Cloud Foundry
 
Android Things
Android ThingsAndroid Things
Android Things
 
Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT - Level 200
Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT - Level 200Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT - Level 200
Voice-enabling Your Home and Devices with Amazon Alexa and AWS IoT - Level 200
 
Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013
 
WebSocket JSON Hackday
WebSocket JSON HackdayWebSocket JSON Hackday
WebSocket JSON Hackday
 
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPAIntegrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
 
Puppet and AWS: Getting the best of both worlds
Puppet and AWS: Getting the best of both worldsPuppet and AWS: Getting the best of both worlds
Puppet and AWS: Getting the best of both worlds
 
Time for Comet?
Time for Comet?Time for Comet?
Time for Comet?
 
WebGL, HTML5 and How the Mobile Web Was Won
WebGL, HTML5 and How the Mobile Web Was WonWebGL, HTML5 and How the Mobile Web Was Won
WebGL, HTML5 and How the Mobile Web Was Won
 
JavaScript Neednt Hurt - JavaBin talk
JavaScript Neednt Hurt - JavaBin talkJavaScript Neednt Hurt - JavaBin talk
JavaScript Neednt Hurt - JavaBin talk
 
Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W...
 	Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W... 	Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W...
Bringing the open web and APIs to mobile devices with Firefox OS - Whisky W...
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Sevillajs: Una tarde con Firefox OS

  • 1. Una tarde con ... FIREFOX OS Thursday, 20 December 12
  • 3. Hola! Soy Francisco Jordano Thursday, 20 December 12
  • 5. La Web es la Plataforma Thursday, 20 December 12
  • 6. El proyecto Boot to Gecko (B2G) fue concebido para llevar la Web como plataforma a dispositivos mobiles. Thursday, 20 December 12
  • 7. Vamos a cocinar nuestro SO Thursday, 20 December 12
  • 8. Gaia UI based on open web technologies Gecko Magic engine + new APIs Gonk Solid linux kernel + drivers ... Thursday, 20 December 12
  • 11. Web APIS ... Web APIS everywhere Thursday, 20 December 12
  • 12. Web APIS Extending the capabilities of the web. Mobi le Co nnect ion Contacts y Telephon Settings s Payment Browser We bS MS Pow ns er M Permissio ana gem FM ent Ra s dio Web Activitie Thursday, 20 December 12
  • 15. // Telephony object var tel = navigator.mozTelephony; // Check if the phone is muted (read/write property) console.log(tel.muted); // Check if the speaker is enabled (read/write property) console.log(tel.speakerEnabled); Thursday, 20 December 12
  • 16. // Place a call var cal = tel.dial(“123456789”); Thursday, 20 December 12
  • 18. // SMS object var sms = navigator.mozSMS; // Send a message sms.send("123456789", "Hello world!"); Thursday, 20 December 12
  • 19. // Recieve a message sms.onreceived = function (event) { // Read message console.log(event.message); }; Thursday, 20 December 12
  • 20. BATTERY STATUS API Thursday, 20 December 12
  • 21. var battery = navigator.mozBattery 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); } Thursday, 20 December 12
  • 23. var contact = new mozContact(); contact.init({name: "Tom"}); var request = navigator.mozContacts.save(contact); request.onsuccess = function() { console.log("Success"); }; request.onerror = function() { console.log("Error") }; Thursday, 20 December 12
  • 24. NETWORK INFORMATION API Thursday, 20 December 12
  • 25. var connection = window.navigator.mozConnection, online = connection.bandwidth > 0, metered = connectrion.metered; Thursday, 20 December 12
  • 29. Aplicaciones para Firefox OS ... perdón ... aplicaciones para la Web! Thursday, 20 December 12
  • 30. Open Web Apps API { "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/" } }, "it": { "description": "Azione aperta emozionante di sviluppo di fotoricettore!", "developer": { "url": "http://it.mozillalabs.com/" } } }, "default_locale": "en" } Thursday, 20 December 12
  • 31. Con las manos en la masa Nightly B2G R2D2B2G Thursday, 20 December 12
  • 32. A colaborar se ha dicho! https://github.com/mozilla-b2g/gaia irc.mozilla.org #b2g, #gaia, #webapi https://lists.mozilla.org/listinfo/dev-gaia Thursday, 20 December 12
  • 33. Muchas gracias! twitter://mepartoconmigo github://arcturus Thursday, 20 December 12