[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.08,0:00:03.17,Default,,0000,0000,0000,,Last time I showed you the Flame device\Nwhich is our reference device for Dialogue: 0,0:00:03.17,0:00:03.91,Default,,0000,0000,0000,,developers Dialogue: 0,0:00:03.91,0:00:07.69,Default,,0000,0000,0000,,and people who want to get to know what a mid-tier device on Firefox OS would look Dialogue: 0,0:00:07.69,0:00:08.15,Default,,0000,0000,0000,,like. Dialogue: 0,0:00:08.15,0:00:12.24,Default,,0000,0000,0000,,Once you have your Flame set up it comes like this. By the time the video is out, there Dialogue: 0,0:00:12.24,0:00:15.50,Default,,0000,0000,0000,,might be a new one so keep up to date,\Nit's really easy to upgrade your Dialogue: 0,0:00:15.50,0:00:16.54,Default,,0000,0000,0000,,operating system. Dialogue: 0,0:00:16.54,0:00:20.07,Default,,0000,0000,0000,,To turn this phone into a proper developer\Nphone you just go into settings Dialogue: 0,0:00:20.07,0:00:23.11,Default,,0000,0000,0000,,and you go into the internet settings Dialogue: 0,0:00:23.11,0:00:27.26,Default,,0000,0000,0000,,of the phone itself: "device information".\NOnce you're there you click on "more Dialogue: 0,0:00:27.26,0:00:28.08,Default,,0000,0000,0000,,information" Dialogue: 0,0:00:28.08,0:00:32.77,Default,,0000,0000,0000,,and then you turn on the developer menu.\NWhen you now go back to the main settings Dialogue: 0,0:00:32.77,0:00:36.19,Default,,0000,0000,0000,,you will get a developer menu that would\Nbe confusing for normal end users Dialogue: 0,0:00:36.19,0:00:39.34,Default,,0000,0000,0000,,but is a real real interesting point for\Nyou as a developer. Dialogue: 0,0:00:39.34,0:00:43.50,Default,,0000,0000,0000,,You have for example the layer borders, \Nyou have tile borders, a hardware Dialogue: 0,0:00:43.50,0:00:45.77,Default,,0000,0000,0000,,composer, the tiling, the over scrolling: Dialogue: 0,0:00:45.77,0:00:49.60,Default,,0000,0000,0000,,everything that happens in the interface\Nitself to the video card Dialogue: 0,0:00:49.60,0:00:54.07,Default,,0000,0000,0000,,to the memory can now be inspected by\Nyou and that is much much better than Dialogue: 0,0:00:54.07,0:00:57.23,Default,,0000,0000,0000,,trying to do it over USB and seeing it\Nin the ADB Dialogue: 0,0:00:57.23,0:01:01.51,Default,,0000,0000,0000,,log but you can do that as well if you\Nwanted to. A very interesting new section Dialogue: 0,0:01:01.51,0:01:04.20,Default,,0000,0000,0000,,that we have in Firefox OS now is the\N"developer HUD". Dialogue: 0,0:01:04.20,0:01:09.18,Default,,0000,0000,0000,,Once you turn that on here and you see\Nit it overlays information onto the Dialogue: 0,0:01:09.18,0:01:10.07,Default,,0000,0000,0000,,screen for you. Dialogue: 0,0:01:10.07,0:01:13.87,Default,,0000,0000,0000,,You show the system HUD and all of a\Nsudden you see how much memory is being Dialogue: 0,0:01:13.87,0:01:15.53,Default,,0000,0000,0000,,used by the system right now Dialogue: 0,0:01:15.53,0:01:19.23,Default,,0000,0000,0000,,and how much memory is being used by the app that you're currently debugging. Dialogue: 0,0:01:19.23,0:01:23.43,Default,,0000,0000,0000,,As everything in Firefox OS is an\Napplication including the Settings screen Dialogue: 0,0:01:23.43,0:01:26.48,Default,,0000,0000,0000,,you can actually debug that setting\Nscreen while you're using it. Dialogue: 0,0:01:26.48,0:01:30.18,Default,,0000,0000,0000,,You can also turn on the frames per\Nsecond which shows you up there how many Dialogue: 0,0:01:30.18,0:01:31.90,Default,,0000,0000,0000,,frames per second are being used, Dialogue: 0,0:01:31.90,0:01:35.94,Default,,0000,0000,0000,,the time to load: how long it took to\Nactually load the application that you have Dialogue: 0,0:01:35.94,0:01:36.64,Default,,0000,0000,0000,,right now, Dialogue: 0,0:01:36.64,0:01:40.84,Default,,0000,0000,0000,,reflows, yank and all those different\Nsettings that you need as a developer. Dialogue: 0,0:01:40.84,0:01:44.87,Default,,0000,0000,0000,,You see the memory consumption of the\Napp itself and you can cut it down to Dialogue: 0,0:01:44.87,0:01:48.91,Default,,0000,0000,0000,,like how many JS objects, JS strings and so on have been set for you. Dialogue: 0,0:01:48.91,0:01:52.85,Default,,0000,0000,0000,,That allows you on the device to see how\Nyour app is doing Dialogue: 0,0:01:52.85,0:01:56.64,Default,,0000,0000,0000,,and for app developers that has been\Nalways a pain so we set up this HUD for Dialogue: 0,0:01:56.64,0:01:57.07,Default,,0000,0000,0000,,you. Dialogue: 0,0:01:57.07,0:02:01.28,Default,,0000,0000,0000,,Turn it on, test your application, tweak it \Nuntil it's fast and then bring it to the Dialogue: 0,0:02:01.28,0:02:02.13,Default,,0000,0000,0000,,marketplace Dialogue: 0,0:02:02.13,0:02:04.37,Default,,0000,0000,0000,,and other Firefox OS users out there\Nwill be happy.