Return to Video

Firefox OS Flame - Setting up your phone as a developer device

  • 0:00 - 0:03
    Last time I showed you the Flame device
    which is our reference device for
  • 0:03 - 0:04
    developers
  • 0:04 - 0:08
    and people who want to get to know what a mid-tier device on Firefox OS would look
  • 0:08 - 0:08
    like.
  • 0:08 - 0:12
    Once you have your Flame set up it comes like this. By the time the video is out, there
  • 0:12 - 0:16
    might be a new one so keep up to date,
    it's really easy to upgrade your
  • 0:16 - 0:17
    operating system.
  • 0:17 - 0:20
    To turn this phone into a proper developer
    phone you just go into settings
  • 0:20 - 0:23
    and you go into the internet settings
  • 0:23 - 0:27
    of the phone itself: "device information".
    Once you're there you click on "more
  • 0:27 - 0:28
    information"
  • 0:28 - 0:33
    and then you turn on the developer menu.
    When you now go back to the main settings
  • 0:33 - 0:36
    you will get a developer menu that would
    be confusing for normal end users
  • 0:36 - 0:39
    but is a real real interesting point for
    you as a developer.
  • 0:39 - 0:43
    You have for example the layer borders,
    you have tile borders, a hardware
  • 0:43 - 0:46
    composer, the tiling, the over scrolling:
  • 0:46 - 0:50
    everything that happens in the interface
    itself to the video card
  • 0:50 - 0:54
    to the memory can now be inspected by
    you and that is much much better than
  • 0:54 - 0:57
    trying to do it over USB and seeing it
    in the ADB
  • 0:57 - 1:02
    log but you can do that as well if you
    wanted to. A very interesting new section
  • 1:02 - 1:04
    that we have in Firefox OS now is the
    "developer HUD".
  • 1:04 - 1:09
    Once you turn that on here and you see
    it it overlays information onto the
  • 1:09 - 1:10
    screen for you.
  • 1:10 - 1:14
    You show the system HUD and all of a
    sudden you see how much memory is being
  • 1:14 - 1:16
    used by the system right now
  • 1:16 - 1:19
    and how much memory is being used by the app that you're currently debugging.
  • 1:19 - 1:23
    As everything in Firefox OS is an
    application including the Settings screen
  • 1:23 - 1:26
    you can actually debug that setting
    screen while you're using it.
  • 1:26 - 1:30
    You can also turn on the frames per
    second which shows you up there how many
  • 1:30 - 1:32
    frames per second are being used,
  • 1:32 - 1:36
    the time to load: how long it took to
    actually load the application that you have
  • 1:36 - 1:37
    right now,
  • 1:37 - 1:41
    reflows, yank and all those different
    settings that you need as a developer.
  • 1:41 - 1:45
    You see the memory consumption of the
    app itself and you can cut it down to
  • 1:45 - 1:49
    like how many JS objects, JS strings and so on have been set for you.
  • 1:49 - 1:53
    That allows you on the device to see how
    your app is doing
  • 1:53 - 1:57
    and for app developers that has been
    always a pain so we set up this HUD for
  • 1:57 - 1:57
    you.
  • 1:57 - 2:01
    Turn it on, test your application, tweak it
    until it's fast and then bring it to the
  • 2:01 - 2:02
    marketplace
  • 2:02 - 2:04
    and other Firefox OS users out there
    will be happy.
Title:
Firefox OS Flame - Setting up your phone as a developer device
Description:

more » « less
Video Language:
English
Duration:
02:08

English subtitles

Revisions