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!

Recent Features

  • By
    JavaScript Promise API

    While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready?  Promises are becoming a big part of the JavaScript world...

  • By
    Write Simple, Elegant and Maintainable Media Queries with Sass

    I spent a few months experimenting with different approaches for writing simple, elegant and maintainable media queries with Sass. Each solution had something that I really liked, but I couldn't find one that covered everything I needed to do, so I ventured into creating my...

Incredible Demos

  • By
    spellcheck Attribute

    Many useful attributes have been provided to web developers recently:  download, placeholder, autofocus, and more.  One helpful older attribute is the spellcheck attribute which allows developers to  control an elements ability to be spell checked or subject to grammar checks.  Simple enough, right?

  • By
    Submit Button Enabling

    "Enabling" you ask? Yes. We all know how to disable the submit upon form submission and the reasons for doing so, but what about re-enabling the submit button after an allotted amount of time. After all, what if the user presses the "stop"...

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!