HACK
                    YOUR
                   PHONE!
                                       Tristan NITOT
                    blog.mozilla.org/beyond-the-code
                                               @nitot
jeudi 14 juin 12
Agenda
                   - Who is Mozilla?
                   - Program or be programmed
                   - PC vs Web vs Smartphones
                   - Mozilla’s approach: the Web is the Platform
                     - Firefox for Android and Web APIs
                     - Apps and Marketplace
                     - Boot To Gecko
jeudi 14 juin 12
Mozilla is...




jeudi 14 juin 12
Mozilla is...
                    a global community of people
                    who believe that openness,
                    innovation, and
                    opportunity are key to the
                    continued health of the
                    Internet.

jeudi 14 juin 12
We’re known for the
                   Firefox Web Browser


jeudi 14 juin 12
Mozilla Manifesto
                   (excerpt)



                     - The Internet is a global public resource that
                        must remain open and accessible.
                     - The Internet should enrich the lives of
                        individual human beings.
                     - Individuals' security on the Internet is
                        fundamental and cannot be treated as optional.
                     - Individuals must have the ability to shape
                        their own experiences on the Internet.


jeudi 14 juin 12
Program or be
                    programmed
                    (a book by Douglas Rushkoff)




jeudi 14 juin 12
When humans beings acquired
                   language, we learned not just
                   to listen but how to speak.
                   When we gained literacy, we
                   learned not how to read but
                   how to write. And as we move
                   into increasingly digital reality,
                   we must learn not just how to
                   use programs but how to
                   make them.

jeudi 14 juin 12
In the emerging, highly
                   programmed landscape ahead,
                   you will either create the software
                   or you will be the software. It’s
                   really that simple: program, or be
                   programmed. Choose the former,
                   and you gain access to the
                   control panel of civilization.
                   Choose the latter, and it could be
                   the last real choice you get to
                   make.
jeudi 14 juin 12
In a PC world
                   - You have to pick a platform (Windows, Mac
                     OS, GNU/Linux)
                   - You create or buy or download software
                   - You use software
                   - Unhappy?
                     - Use some other software
                     - Patch it (if it’s Open Source / Free Software)
jeudi 14 juin 12
In a Web world

                   - Create/buy/install the software you want
                   - Use it in any browser, any device, from
                     everywhere
                   - No need to ask permission from anyone for
                     writing, deploying and using software!




jeudi 14 juin 12
In a Smartphone
                   world
                   - Pick a device (that comes with an OS and an
                     AppStore)
                   - Buy (or not) software that was allowed to be
                     featured in the AppStore. (Significant
                     censorship issues there)
                   - Want to patch? You’re out of luck. (Generativity
                     issue there).
                   - Switching platform? Out of luck too. (Vendor
                     lock-in)
jeudi 14 juin 12
2012 is the year when
                   the smartphones will
                        outsell PCs


jeudi 14 juin 12
We’re entering a
                   world where:
                   - The end-users have less control than with PCs
                     and the Web
                   - Tinkering / hacking / programming / creating is
                     discouraged
                   - Vendor lock-in is more important
                   - Censorship is more powerful

jeudi 14 juin 12
Is this the world
                   we want to live in?


jeudi 14 juin 12
Mozilla’s
                   approach


jeudi 14 juin 12
The Web is
                   the Platform


jeudi 14 juin 12
The web is the
                   platform




jeudi 14 juin 12
The web is the
                   platform
                   - Examples: Facebook, GMail, GMaps, Twitter,
                     Balsamiq, 280 slides




jeudi 14 juin 12
The web is the
                   platform
                   - Examples: Facebook, GMail, GMaps, Twitter,
                     Balsamiq, 280 slides
                   - As efficient as native apps



jeudi 14 juin 12
The web is the
                   platform
                   - Examples: Facebook, GMail, GMaps, Twitter,
                     Balsamiq, 280 slides
                   - As efficient as native apps
                   - Run on every device that has a modern Web
                     browser




jeudi 14 juin 12
Unlocking the web




jeudi 14 juin 12
Unlocking the web

                   1. Same capabilities as native apps




jeudi 14 juin 12
Unlocking the web

                   1. Same capabilities as native apps
                   2. Out of the browser




jeudi 14 juin 12
Unlocking the web

                   1. Same capabilities as native apps
                   2. Out of the browser
                   3. Distribution system




jeudi 14 juin 12
Web APIs


jeudi 14 juin 12
jeudi 14 juin 12
Vector
                                  graphics
                   Transitions
                                         Offline
                           Ajax
                                    WebGL
                   Video
                                     (3D)
                           Geolocation



jeudi 14 juin 12
Vector
                                  graphics
                   Transitions


                   HTML5
                                         Offline
                           Ajax
                                    WebGL
                   Video
                                     (3D)
                           Geolocation



jeudi 14 juin 12
Bluetooth
                     Battery
                                               Vector         Camera
                                              graphics
                               Transitions


                           HTML5
                   SMS                               Offline
                                       Ajax
                                                WebGL
                               Video
                                                 (3D)
                                                                Vibration
                                       Geolocation
                   Telephony

                                                 Contacts
jeudi 14 juin 12
WebAPIS
                     Battery
                                                 Bluetooth

                                               Vector         Camera
                                              graphics
                               Transitions


                           HTML5
                   SMS                               Offline
                                       Ajax
                                                WebGL
                               Video
                                                 (3D)
                                                                Vibration
                                       Geolocation
                   Telephony

                                                 Contacts
jeudi 14 juin 12
Bluetooth
                     Battery
                                               Vector         Camera
                                              graphics
                               Transitions


                           HTML5
                   SMS                               Offline
                                       Ajax
                                                WebGL
                               Video
                                                 (3D)
                                                                Vibration
                                       Geolocation
                   Telephony

                                                 Contacts
jeudi 14 juin 12
Firefox Mobile For
                   Android




jeudi 14 juin 12
Firefox Mobile For
                   Android
                   - Faster, faster, faster




jeudi 14 juin 12
Firefox Mobile For
                   Android
                   - Faster, faster, faster
                   - Desktop-like: Awesome Screen, add-ons




jeudi 14 juin 12
Firefox Mobile For
                   Android
                   - Faster, faster, faster
                   - Desktop-like: Awesome Screen, add-ons
                   - Sync with desktop



jeudi 14 juin 12
Firefox Mobile For
                   Android
                   - Faster, faster, faster
                   - Desktop-like: Awesome Screen, add-ons
                   - Sync with desktop
                   - In Beta, release (very) soon


jeudi 14 juin 12
Apps


jeudi 14 juin 12
Apps




jeudi 14 juin 12
Apps


                   - Integrated in the OS




jeudi 14 juin 12
Apps


                   - Integrated in the OS
                   - Distribute on your terms (from your site or any
                     number of marketplaces)




jeudi 14 juin 12
Manifest
                   {
                       "version": "1.0",
                       "name": "AwesomeNewspaper",
                       "description": "Exciting news
                           delivered to you",
                       "icons": {
                          "128": "/img/icon-128.png",
                       },
                       "developer": {
                          "name": "Press2.0",
                          "url": "http://press20.fr"
                       },
                       "installs_allowed_from": ["*"]
                   }
jeudi 14 juin 12
Mozilla Marketplace




jeudi 14 juin 12
Mozilla Marketplace
                   - One distribution system




jeudi 14 juin 12
Mozilla Marketplace
                   - One distribution system
                     - Others could run their own




jeudi 14 juin 12
Mozilla Marketplace
                   - One distribution system
                     - Others could run their own
                   - Free and paid apps




jeudi 14 juin 12
Mozilla Marketplace
                   - One distribution system
                     - Others could run their own
                   - Free and paid apps
                   - Reaches half a billion users



jeudi 14 juin 12
Mozilla Marketplace
                   - One distribution system
                     - Others could run their own
                   - Free and paid apps
                   - Reaches half a billion users
                     - Will run on different browsers, OSes and
                       devices.



jeudi 14 juin 12
Mozilla Marketplace




jeudi 14 juin 12
Boot To Gecko
                      aka B2G
                    http://www.mozilla.org/b2g




jeudi 14 juin 12
What it is?




jeudi 14 juin 12
What it is?

                   - Open Source mobile OS: Linux Kernel +
                     Gecko




jeudi 14 juin 12
What it is?

                   - Open Source mobile OS: Linux Kernel +
                     Gecko
                   - Everything is a web app



jeudi 14 juin 12
What it is?

                   - Open Source mobile OS: Linux Kernel +
                     Gecko
                   - Everything is a web app
                   - First partners: Telefonica and Qualcomm


jeudi 14 juin 12
B2G DEMO




jeudi 14 juin 12
Questions &
                   Answers
                   - http://www.mozilla.org/about/manifesto.en.html
                   - https://wiki.mozilla.org/WebAPI
                   - https://wiki.mozilla.org/Apps
                   - https://marketplace.mozilla.org
                   - http://www.mozilla.org/b2g/
                   - http://blog.mozilla.org/beyond-the-code/
jeudi 14 juin 12

Hack your phone! / User freedom in a mobile-centric world

  • 1.
    HACK YOUR PHONE! Tristan NITOT blog.mozilla.org/beyond-the-code @nitot jeudi 14 juin 12
  • 2.
    Agenda - Who is Mozilla? - Program or be programmed - PC vs Web vs Smartphones - Mozilla’s approach: the Web is the Platform - Firefox for Android and Web APIs - Apps and Marketplace - Boot To Gecko jeudi 14 juin 12
  • 3.
  • 4.
    Mozilla is... a global community of people who believe that openness, innovation, and opportunity are key to the continued health of the Internet. jeudi 14 juin 12
  • 5.
    We’re known forthe Firefox Web Browser jeudi 14 juin 12
  • 6.
    Mozilla Manifesto (excerpt) - The Internet is a global public resource that must remain open and accessible. - The Internet should enrich the lives of individual human beings. - Individuals' security on the Internet is fundamental and cannot be treated as optional. - Individuals must have the ability to shape their own experiences on the Internet. jeudi 14 juin 12
  • 7.
    Program or be programmed (a book by Douglas Rushkoff) jeudi 14 juin 12
  • 8.
    When humans beingsacquired language, we learned not just to listen but how to speak. When we gained literacy, we learned not how to read but how to write. And as we move into increasingly digital reality, we must learn not just how to use programs but how to make them. jeudi 14 juin 12
  • 9.
    In the emerging,highly programmed landscape ahead, you will either create the software or you will be the software. It’s really that simple: program, or be programmed. Choose the former, and you gain access to the control panel of civilization. Choose the latter, and it could be the last real choice you get to make. jeudi 14 juin 12
  • 10.
    In a PCworld - You have to pick a platform (Windows, Mac OS, GNU/Linux) - You create or buy or download software - You use software - Unhappy? - Use some other software - Patch it (if it’s Open Source / Free Software) jeudi 14 juin 12
  • 11.
    In a Webworld - Create/buy/install the software you want - Use it in any browser, any device, from everywhere - No need to ask permission from anyone for writing, deploying and using software! jeudi 14 juin 12
  • 12.
    In a Smartphone world - Pick a device (that comes with an OS and an AppStore) - Buy (or not) software that was allowed to be featured in the AppStore. (Significant censorship issues there) - Want to patch? You’re out of luck. (Generativity issue there). - Switching platform? Out of luck too. (Vendor lock-in) jeudi 14 juin 12
  • 13.
    2012 is theyear when the smartphones will outsell PCs jeudi 14 juin 12
  • 14.
    We’re entering a world where: - The end-users have less control than with PCs and the Web - Tinkering / hacking / programming / creating is discouraged - Vendor lock-in is more important - Censorship is more powerful jeudi 14 juin 12
  • 15.
    Is this theworld we want to live in? jeudi 14 juin 12
  • 16.
    Mozilla’s approach jeudi 14 juin 12
  • 17.
    The Web is the Platform jeudi 14 juin 12
  • 18.
    The web isthe platform jeudi 14 juin 12
  • 19.
    The web isthe platform - Examples: Facebook, GMail, GMaps, Twitter, Balsamiq, 280 slides jeudi 14 juin 12
  • 20.
    The web isthe platform - Examples: Facebook, GMail, GMaps, Twitter, Balsamiq, 280 slides - As efficient as native apps jeudi 14 juin 12
  • 21.
    The web isthe platform - Examples: Facebook, GMail, GMaps, Twitter, Balsamiq, 280 slides - As efficient as native apps - Run on every device that has a modern Web browser jeudi 14 juin 12
  • 22.
  • 23.
    Unlocking the web 1. Same capabilities as native apps jeudi 14 juin 12
  • 24.
    Unlocking the web 1. Same capabilities as native apps 2. Out of the browser jeudi 14 juin 12
  • 25.
    Unlocking the web 1. Same capabilities as native apps 2. Out of the browser 3. Distribution system jeudi 14 juin 12
  • 26.
  • 27.
  • 28.
    Vector graphics Transitions Offline Ajax WebGL Video (3D) Geolocation jeudi 14 juin 12
  • 29.
    Vector graphics Transitions HTML5 Offline Ajax WebGL Video (3D) Geolocation jeudi 14 juin 12
  • 30.
    Bluetooth Battery Vector Camera graphics Transitions HTML5 SMS Offline Ajax WebGL Video (3D) Vibration Geolocation Telephony Contacts jeudi 14 juin 12
  • 31.
    WebAPIS Battery Bluetooth Vector Camera graphics Transitions HTML5 SMS Offline Ajax WebGL Video (3D) Vibration Geolocation Telephony Contacts jeudi 14 juin 12
  • 32.
    Bluetooth Battery Vector Camera graphics Transitions HTML5 SMS Offline Ajax WebGL Video (3D) Vibration Geolocation Telephony Contacts jeudi 14 juin 12
  • 33.
    Firefox Mobile For Android jeudi 14 juin 12
  • 34.
    Firefox Mobile For Android - Faster, faster, faster jeudi 14 juin 12
  • 35.
    Firefox Mobile For Android - Faster, faster, faster - Desktop-like: Awesome Screen, add-ons jeudi 14 juin 12
  • 36.
    Firefox Mobile For Android - Faster, faster, faster - Desktop-like: Awesome Screen, add-ons - Sync with desktop jeudi 14 juin 12
  • 37.
    Firefox Mobile For Android - Faster, faster, faster - Desktop-like: Awesome Screen, add-ons - Sync with desktop - In Beta, release (very) soon jeudi 14 juin 12
  • 38.
  • 39.
  • 40.
    Apps - Integrated in the OS jeudi 14 juin 12
  • 41.
    Apps - Integrated in the OS - Distribute on your terms (from your site or any number of marketplaces) jeudi 14 juin 12
  • 42.
    Manifest { "version": "1.0", "name": "AwesomeNewspaper", "description": "Exciting news delivered to you", "icons": { "128": "/img/icon-128.png", }, "developer": { "name": "Press2.0", "url": "http://press20.fr" }, "installs_allowed_from": ["*"] } jeudi 14 juin 12
  • 43.
  • 44.
    Mozilla Marketplace - One distribution system jeudi 14 juin 12
  • 45.
    Mozilla Marketplace - One distribution system - Others could run their own jeudi 14 juin 12
  • 46.
    Mozilla Marketplace - One distribution system - Others could run their own - Free and paid apps jeudi 14 juin 12
  • 47.
    Mozilla Marketplace - One distribution system - Others could run their own - Free and paid apps - Reaches half a billion users jeudi 14 juin 12
  • 48.
    Mozilla Marketplace - One distribution system - Others could run their own - Free and paid apps - Reaches half a billion users - Will run on different browsers, OSes and devices. jeudi 14 juin 12
  • 49.
  • 50.
    Boot To Gecko aka B2G http://www.mozilla.org/b2g jeudi 14 juin 12
  • 51.
  • 52.
    What it is? - Open Source mobile OS: Linux Kernel + Gecko jeudi 14 juin 12
  • 53.
    What it is? - Open Source mobile OS: Linux Kernel + Gecko - Everything is a web app jeudi 14 juin 12
  • 54.
    What it is? - Open Source mobile OS: Linux Kernel + Gecko - Everything is a web app - First partners: Telefonica and Qualcomm jeudi 14 juin 12
  • 55.
  • 56.
    Questions & Answers - http://www.mozilla.org/about/manifesto.en.html - https://wiki.mozilla.org/WebAPI - https://wiki.mozilla.org/Apps - https://marketplace.mozilla.org - http://www.mozilla.org/b2g/ - http://blog.mozilla.org/beyond-the-code/ jeudi 14 juin 12