mozilla
Your Search Results

    Introduction to Firefox OS

    Firefox OS (also referred to by its codename "Boot to Gecko" or "B2G") is Mozilla's open source mobile operating system based on Linux and Mozilla's Gecko technology. Firefox OS is a mobile operating system that's free from proprietary technology while still a powerful platform that provides application developers an opportunity to create excellent products. In addition, it's flexible and capable enough to make the end user happy.

    For Web developers, the most important part to understand is that the entire user interface is a Web app, one that is capable of displaying and launching other Web apps. Any modifications you make to the user interface and any applications you create to run on Firefox OS are Web pages, albeit with enhanced access to the mobile device's hardware and services.

    You can learn how to build and install Firefox OS by following our handy guide.

    ความต้องการในของเครื่อง

    อุปกรณ์ที่ใช้ ARM เป็นพื้นเดิมก็มีประสิทธิภาพเพียงพอต่อการพอร์ท Firefox OS และในหัวข้อนี้บอกถึงสเปคขั้นต่ำ และสเปคที่แนะนำ

    Component ขั้นต่ำ แนะนำ
    CPU ARMv6 Cortex A5 class or better
    ARMv7a with NEON
    GPU Adreno 200 class or better
    Connectivity WiFi
    3G
    Sensors Accelerometer
    Proximity
    Ambient light
    A-GPS

    For a good user experience, it's a good idea to choose a device that offers a uniform color profile (implemented by the graphics device driver) and headphone support for muting and unmuting and for stopping and playing media. These features are common among modern smartphones.

    Usage tips

    This section provides some tips that will help you actually use Firefox OS. This is something of a placeholder until we have real usage documentation.

    Unlocking the phone

    If your build of Firefox OS starts up asking for a pass code to unlock the device, the default code is 0000. Some builds will do this while we develop and test the lock screen.

    Capturing a screenshot

    Capturing a screenshot is as simple as pressing the power and home buttons at the same time. The screenshot image will be in /sdcard/screenshots on your device; you can access it using the Gallery app on your phone, as well.

    If for some reason that doesn't work, you can also do it from the terminal on the Linux or Mac OS X computer that has a Firefox OS build system installed.

    1. Make sure you have ffmpeg installed.
      1. On Mac, if you use MacPorts, you can do this with sudo port install ffmpeg. For homebrew, do brew install ffmpeg.
      2. On Linux (Ubuntu/Debian), use sudo apt-get install ffmpeg.
    2. Connect your phone to the computer using a USB cable.
    3. Navigate your phone into whatever situation you want to screenshot.
    4. cd into the B2G/gaia directory
    5. make screenshot
    6. You now have a screenshot called screenshot.png.

    Remote debugging with ADB

    To enable USB Debugging via adb, open up the Settings App and navigate to Device Information > More Information > Developer. From the list, put a check mark on Remote Debugging. Finally, connect the device via USB with your computer.

    Buttons and controls

    A typical Firefox OS device has a small number of physical hardware buttons:

    Home button
    This button is generally centered below the screen. Pressing it will return you to the app launcher. Holding it down opens the card switching view; swiping up on an app in that view will terminate it.
    Volume control rocker
    Along the left side is the volume rocker; pressing the top half of the rocker increases the audio volume and pressing the bottom half decreases the volume.
    Power button
    The power button is at the top right corner of the device.

    Document Tags and Contributors

    Contributors to this page: zerowin007
    Last updated by: zerowin007,