Mozilla

Three weeks back, we introduced the Firefox OS Simulator, a tool that allows web developers to try out their apps in Firefox OS from the comfort of their current Windows/Mac/Linux computers. We’ve seen a number of comments from people who used the Simulator as an easy way to get a peek at Firefox OS today, which is fine, too.

Since that last blog post, the team has been squashing bugs to get the Simulator ready for more use. Linux users in particular will be happy to know that the current release will run on many more systems. With today’s 1.0 release, we hope to see many more users!

Installing

We’re leaving the “Preview” tag on the Simulator for now, both because the Simulator is new and because Firefox OS itself is still in development. This is a perfect time to create apps that work on Firefox OS (and Android and the web at large!) because your apps can be ready for the big launch.

Install the Firefox OS Simulator from addons.mozilla.org today!

Screencast showing Firefox OS Simulator in action

(If you’ve opted in to HTML5 video on YouTube you will get that, otherwise it will fallback to Flash)

Getting help

If you spot any bugs, please file them on GitHub. Got a question? You can ask us on the dev-webapps mailing list or on #openwebapps on irc.mozilla.org

55 comments

Comments are now closed.

  1. Wim wrote on December 12th, 2012 at 12:53 am:

    Is there a way to test the localizations too?

    1. Robert Nyman wrote on December 12th, 2012 at 4:26 am:

      If you go into Settings, you can change between a few languages: English, French etc. If you want to add your own languages, I believe the best way right now is to download Gaia and test that locally.

      1. Sheva wrote on January 31st, 2013 at 10:59 pm:

        Thanks

  2. nico wrote on December 12th, 2012 at 1:37 am:

    Let’s try it!
    thanks robert

    1. Robert Nyman wrote on December 12th, 2012 at 4:26 am:

      Thanks, hope you like it!

  3. p4bl0 wrote on December 12th, 2012 at 3:05 am:

    I had a live demo [1] of Firefox OS by Tristan Nitot a few months ago as Pas Sage En Seine [2] in Paris, and it was one of the selling point that at any time the user can view the html source of whatever Firefox OS is displaying on the screen (see [1] at 55:00 approximately). This is really awesome because it means that you can always study how things work and easily improve them.

    Does anyone know how I can view the html source of what is displayed on screen in the simulator.

    [1] http://lacantine.ubicast.eu/videos/nitot/

    [2] http://www.passageenseine.org/

    1. Robert Nyman wrote on December 12th, 2012 at 4:27 am:

      Glad you liked Tristan’s presentation! To my knowledge, right now, you don’t have an option to see that in the Simulator. But I agree, that would be nice!

      1. p4bl0 wrote on December 12th, 2012 at 4:40 am:

        More than nice I think this is an essential feature, since it would be the best possible way for developers to learn how to do things.

        What would be nice would be to be able to edit the html / css / javascript files on the fly on the phone itself to be able to improve or add a feature at anytime (maybe this feature should be opt-in in the settings menu so only people who know what they do enable it). This would feel like Emacs and I would love that.

        I can’t wait to have Firefox OS on my actual phone!

        1. Robert Nyman wrote on December 12th, 2012 at 4:47 am:

          Yes, there are many ways to try and make it easier/better for developers. First step now, is that anyone can create an app on their local computer and try it directly in the Simulator.

          Next step hopefully contains ways to view the source code for apps etc!

        2. Kevin Dangoor wrote on December 12th, 2012 at 6:25 am:

          The usefulness of View Source doesn’t extend that far with modern webapps, especially if you imagine it on a small phone screen. That’s why the Firefox Developer Tools are getting more and more remote capabilities. On your full size monitor, you can currently explore the JavaScript code and console logging. Later, you’ll be able to explore the DOM and CSS as well. I think this is much better for seeing how an app works than on-device view source…

  4. Pravin wrote on December 12th, 2012 at 5:05 am:

    I am trying to run it for last 10 days but it is not working and giving error. something like this,
    unresponsive script: a script on this page may be busy……………………..script: resource://ger/module/xpprovider.jsm:1115

    what should I do?

    1. Robert Nyman wrote on December 12th, 2012 at 7:08 am:

      Please follow the options under the heading “Getting help” in the article above.

  5. Mixalis wrote on December 12th, 2012 at 8:38 am:

    It does not work for me. I am getting these messages.
    No protocol specified
    No protocol specified
    Error: cannot open display: :0.0
    info: r2d2b2g: linux/b2g/b2g-bin terminated with 256

    I am using Aurora on Debian Gnu/Linux 6

    1. Robert Nyman wrote on December 12th, 2012 at 8:39 am:

      Like mentioned above:

      Please follow the options under the heading “Getting help” in the article above.

  6. Ken Saunders wrote on December 13th, 2012 at 3:17 am:

    Would your input help?

    https://bugzilla.mozilla.org/show_bug.cgi?id=821237

    1. Robert Nyman wrote on December 13th, 2012 at 3:35 am:

      I’ll ask. I believe that page is mostly as a marketing page/aimed at app developers, but I’ll see what they say.

  7. LouCypher wrote on December 14th, 2012 at 2:13 pm:

    Is there Firefox OS simulator for XULRunner?

    1. Robert Nyman wrote on December 17th, 2012 at 3:19 am:

      To my knowledge, there isn’t anything similar to that.

  8. tech forum wrote on December 17th, 2012 at 7:40 am:

    How to install this operating system in my mobile any suggestion or tutorial pls help me if through dual boot then it’s good for my mobile.

    1. Robert Nyman wrote on December 17th, 2012 at 7:53 am:

      Please take a look at Building and installing Firefox OS. The idea with the simulator, though, is to be able to test it without needing access to a device.

  9. Sudhanshu Aggarwal wrote on December 19th, 2012 at 4:57 am:

    Hi,

    Its not compatible with my firefox (v14.0.1). Can you tell me which firefox version will be compatible with this addon? I’m running Windows 8.

    1. Robert Nyman wrote on December 19th, 2012 at 2:51 pm:

      Off the top of my head, it should work. First, try updating Firefox to version 17 (the latest). If that doesn’t help, please file an issue.

      1. Sudhanshu Aggarwal wrote on December 31st, 2012 at 9:59 am:

        Hey! Thanks updating worked! this OS looks smoooooth! ;)

  10. bikash wrote on December 26th, 2012 at 12:15 pm:

    How can I start building my own apps and deploy it to simulator?

    1. Robert Nyman wrote on January 22nd, 2013 at 6:39 am:

      The Getting started guide is probably a good start!

  11. Sergey wrote on January 22nd, 2013 at 6:13 am:

    looks very fresh, works fast. I love it, want to have this OS on my phone.

    1. Sergey wrote on January 22nd, 2013 at 6:26 am:

      who knows how to turn on landscape mode?

      1. Robert Nyman wrote on January 22nd, 2013 at 6:40 am:

        Unfortunately landscape mode isn’t a feature, yet.

        1. Sergey wrote on January 22nd, 2013 at 6:42 am:

          thanx, then I wait untill I can buy a real Firefox cell-phone)

          1. Robert Nyman wrote on January 22nd, 2013 at 6:46 am:

            I hope landscape support will be there in the near future, but I can’t promise anything.

    2. Robert Nyman wrote on January 22nd, 2013 at 6:39 am:

      Sounds good! :-)

  12. Michael wrote on February 6th, 2013 at 1:14 pm:

    I’m testing the device storage api in the simulator. It works great in general, but I’ve got problems when I pass “sdcard” to “getDeviceStorage”. In this case I get “null” instead of a devicestorage object. I asked in the irc chat and somebody told me to create a subdirectory “fake-sdcard” in the profile folder, which simulates a real sdcard. But it still does not work.

    Have you got a hint how to get this working?

    1. Michael wrote on February 9th, 2013 at 12:57 am:

      I’ve updated the simulator add-on to the newest version and it’s working now.

      1. Robert Nyman [Editor] wrote on February 12th, 2013 at 3:29 am:

        Good to hear!

  13. alex wrote on February 9th, 2013 at 3:00 am:

    i have installed Firefox OS simulator but i can not launch it help

    1. Robert Nyman [Editor] wrote on February 12th, 2013 at 3:29 am:

      Please file an issue to get help with that!

  14. Haard wrote on February 11th, 2013 at 11:06 am:

    can i install this os in my Samsung galaxy mini ???? Mr. Robert nyman ??? & if yes then how ???

    1. Robert Nyman [Editor] wrote on February 12th, 2013 at 3:21 am:

      No, the Simulator can’t be installed on a Samsung Galaxy Mini. For experimental support for the mobile operating system itself, I recommend reading Firefox OS: Devices and Dark Matter

  15. Harisankar PS wrote on February 12th, 2013 at 2:41 am:

    I am going to update my firefox just to try this out.. :D

    1. Robert Nyman [Editor] wrote on February 12th, 2013 at 3:20 am:

      Sounds good!

  16. Nelson Silva wrote on February 12th, 2013 at 7:36 am:

    Really nice simulator add-on.
    Congratulations, Robert.

    1. Robert Nyman [Editor] wrote on February 12th, 2013 at 7:40 am:

      Thanks! I haven’t built it, but I’m happy Myk did! :-)

  17. Nelson Silva wrote on February 12th, 2013 at 8:02 am:

    It’s really nice!
    This simulator will have a second version?

    1. LouCypher wrote on February 12th, 2013 at 11:21 am:

      It already has version 2. Just update your Firefox OS Simulator from Add-ons Manager.

      1. Nelson Silva wrote on February 12th, 2013 at 3:39 pm:

        Thank you. Updated. :)

  18. Richard Sierakowski wrote on February 17th, 2013 at 1:22 pm:

    How accurate is the simulator for the Peak environment? I think we could only ever sell the Peak in the UK as it has a just about reasonable hardware spec.

    Richard

    1. Robert Nyman [Editor] wrote on February 18th, 2013 at 2:56 am:

      It’s a simulator for Firefox OS in general, not simulating hardware or performance.

  19. Spandan Pradhan wrote on February 25th, 2013 at 10:47 am:

    I installed the firefox os simulator add on , but now i am stuck, what to do now. Isn’t there any documentation or tutorial video link.

    1. Robert Nyman [Editor] wrote on February 26th, 2013 at 4:45 pm:

      Not sure what you mean. The screencast in this blog post shows how to work with it.

  20. lamine wrote on February 28th, 2013 at 2:20 am:

    Thank you for demonstration,

    I have seen tests under Galaxy S2, I found square icons Pretty good,

    https://www.youtube.com/watch?v=lHKNt0n6whw

    is it possible to get this configuration of firefox Os ?

    Thanks.

    1. Robert Nyman [Editor] wrote on February 28th, 2013 at 12:03 pm:

      Not right now, but hopefully you’ll be able to customize it through HTML5, CSS, and JavaScript.

  21. viswaprasath wrote on March 6th, 2013 at 6:16 am:

    how will you get the simulator’s id as we will get in android as getDeviceID().

    1. Robert Nyman [Editor] wrote on March 7th, 2013 at 1:17 am:

      Not sure. What would you use the id for?

  22. VISWAPRASATH wrote on March 7th, 2013 at 3:42 am:

    Robert

    I am doing a project using Mobile where i will be using the IMEI number of the mobile as a encryption key. So i tried in my Android simulator i got this method, if I have like this option in the Firefox OS simulator then i can show demo of my project using Firefox OS simulator itself.

    1. Robert Nyman [Editor] wrote on March 7th, 2013 at 4:49 am:

      Ok, I see. To my knowledge, there is currently no way of finding that out. Try asking in the dev-webapps mailing list.

Comments are closed for this article.