SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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...
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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