Ksdg customize-your-firefoxos

Click here to load reader

  • date post

  • Category


  • view

  • download


Embed Size (px)



Transcript of Ksdg customize-your-firefoxos

  • Customize Your Firefox OS Yuren Ju
  • http://www.pcworld.idg.com.au/article/465951/developers_express_enthusiasm_firefox_os_survey_shows/
  • Running game on Browser without plugins
  • MinGW for Windows developers
  • Yuren Ju KaLUG Hacking Thursday COSCUP Mozilla
  • http://www.flickr.com/photos/kky/704056791/ Web Technology
  • https://github.com/coolaj86/logo.js
  • dialer.[js/html/css]
  • ? Telephony, FM, Bluetooth, SMS Mobile Connection, Contact Alarm, Ambient Light Sensor Battery, Camera
  • Web API for Firefox OS https://developer.mozilla.org/en-US/docs/WebAPI
  • http://www.mozfans.com/thread-411-1-1.html
  • e.g., bluetooth BlueZ WebBluetooth navigator.mozBluetooth Gonk Gecko Gaia
  • e.g., Infrared? LIRC Linux Infrared Remote Control mozInfrared navigator.mozInfrared Gonk Gecko Gaia Something like this, although we haven't supported infrared yet.
  • Standard! Standard! Standard!
  • Build Firefox OS https://github.com/mozilla-b2g/B2G
  • Build B2G git clone https://github.com/mozilla- b2g/B2G.git (install a lot of dependencies...) ./config.sh ./build.sh wait 20min ~ 2hr... Zzzzz...
  • But I'm a gaia developer. o/
  • Firefox & Firefox OS OS Firefox web apps Gaia Gecko + Gonk Hardware Hardware
  • Run Gaia on Firefox Browser! OS Firefox gaia + web apps Gecko + Gonk Hardware Hardware
  • Build for Gaia git clone https://github.com/mozilla- b2g/gaia.git cd gaia make (10~30s except first time)
  • Different Targets... make production
  • DEBUG=1 make
  • Built-in Customization Mechanism https://wiki.mozilla.org/B2G/MarketCustomizations
  • Customization Mechanism Gaia Distribution Dir Building...
  • GAIA_DIR/build/settings.js e.g., settings/lockscreen/wallpaper
  • Apps customization
  • build/apps-*.list production apps/* external-apps/* outoftree_apps/* engineering apps/* test_apps/* showcase_apps/* test_external_apps/* external-apps/* outoftree_apps/*
  • apps.list apps/* external-apps/twitter
  • Customization Mechanism Gaia /apps/* /external-apps/twitter Distribution Dir /apps/* /external-apps/twitter Building...
  • Modify Firefox OS
  • Tools http://www.flickr.com/photos/[email protected]/8747337118/
  • built-in debugger
  • or you prefer firebug