Treehouse

Firefox OS Simulator

By on  
FirefoxOS

If you haven't heard yet, Mozilla is working on an awesome new phone OS called Firefox OS.  From a developer's perspective, highlights include:

  • all apps are and will be created from CSS, JavaScript, and HTML
  • the OS is open source
  • each app runs as its own virtual Firefox/browser process
  • installing apps from Firefox Marketplace is incredibly easy
  • support for mobile will push Firefox to keep improving performance
  • more!

While it's now possible to create your own FirefoxOS build, many of you probably don't want to take the time quite yet.  No problem -- there's a faster solution for getting a sneak peak at Firefox OS:  Firefox OS Simulator (formerly R2D2B2G). Firefox OS Simulator is installed into Firefox like any other plugin, and once activated, is activated by selecting Tools > Web Developer > FirefoxOS Simulator.

Once installed, Firefox OS Simulator allows you to move from screen to screen, open any app (though some APIs like Camera don't work within the simulator yet), install apps from the Firefox Marketplace or any other domain, and just about anything else. FirefoxOS Simulator is great for developers looking to do heavy Firefox OS app development or simply get a preview of what's to come from Firefox OS.  Grab Firefox OS Simulator and get excited about Mozilla's upcoming platform!

ydkjs-5.png

Recent Features

  • Facebook Open Graph META Tags

    It's no secret that Facebook has become a major traffic driver for all types of websites.  Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly.  And of course there are Facebook "Like" and "Recommend" widgets on every website.  One...

  • Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each to their own.  In any event,...

Incredible Demos

  • Growl-Style Notifications Using MooTools Roar

    When I think of premier MooTools plugin developers, Harald "digitarald" Kirschner is usually one of the first people that come to mind. Harald has built some of MooTools' most popular plugins, including AutoCompleter, FancyUpload, and History Manager. My favorite plugin created...

  • WebSocket and Socket.IO

    My favorite web technology is quickly becoming the WebSocket API. WebSocket provides a welcomed alternative to the AJAX technologies we've been making use of over the past few years. This new API provides a method to push messages from client to server efficiently...

Discussion

  1. CJ

    How do you go back to the home screen once an app is launched?

    • On Mac, FN + LEFTARROW and FN + RIGHTARROW should move you around.

    • taixzo

      What are the keys on Linux? Fn+arrows didn’t work.

    • Try Home and End

  2. Nice, I like that and it works fine!

  3. Stay tuned, because in a few short weeks this will be turning into the Firefox OS Simulator and it will be a lot easier to get apps into it for testing. We are planning additional improvements now. So, this will definitely be a slick and easy way to get going with Firefox OS.

  4. Wow! Just tried it with the Selenium plugin and IT WORKS!

  5. Hey! Any chance you can generate Linux 64-bit builds? Those users that use their distro builds are often on a native version of Firefox for their architecture (amd64) and those that manually download builds often get the 64-bit ones from the FTP servers.

    Cheers,

    jonathan

  6. Rolf

    Nice, always fun to scroll between pages in a simulator with the mouse not touching the icons ;)

  7. Rolf

    Nice, always fun to “scroll” between pages in a simulator using the mouse not trying to touch/click the app icons, lol

  8. I installed that plugin but not able to see it activated inside “Tools > B2G Desktop.” :( Can anyone suggest why its not working on my side ?

  9. Chung Xa

    It looks cool but I’ve got a warning and deleted files from Norton Internet Security.
    It says … “Suspicious.Cloud.7.EP”

    • I believe that may be specific to your system. Weird.

    • Andreas

      Same happened to me. Norton 360 deleted about 10 .dlls and classified them as “WS.Reputation.1″ which seems to mean that not much is known about this file, so it might be a virus ..

  10. Are you able to use the remote debugger in FF18 with the simulator?

  11. Sathish

    Guys, Remote debugging doesn’t connect to the B2G simulator. Tried it on Firefox 18+ and Nightly (Mac). All preferences in about:config are set according to this link. Any help pls?

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!

Use Code Editor