Code Monkey home page Code Monkey logo

cordova-firefoxos's Introduction

Cordova FirefoxOS (Boot 2 Gecko)

Introduction

Firefox OS is an open source operating system for smartphones and tablet computers being developed by Mozilla. It is designed to allow HTML5 applications to integrate directly with the device's hardware using JavaScript.

cordova-firefoxos allows developers to use the cross platform APIs in Cordova to target the Firefox OS. Most APIs are just proxied to the matching Firefox OS API calls.

Prerequisties:

A lot of good documentation is available on the Mozilla Developer Network

A simulator (runs as a Firefox plugin) is availble here

The following software is required to package and deploy an app directly to a Firefox OS device: -Android SDK -on Mac you will need to install XCode & Command Line Tools for XCode -Firefox OS device with OS Version 1.0.0.0 prerelease

Getting Started:

  1. Bootstrap your computer so to make sure that you have all the prerequisites for building Firefox
  • instructions can be found under the "Build prerequisites" section on the following page
  1. Clone the Firefox repository: git clone git://github.com/mozilla/mozilla-central.git
  2. Build Firefox by following the instructions under the "Building" on the following page
  3. Clone the cordova-firefoxos repository

If Deploying to device:

  1. Modify the XPCSHELL constant in the Makefile to point to the location of xpcshell on your computer
  2. Modify the ADB constant in the Makefile to point to the location of adb on your computer
  3. Make sure the Firefox OS device has remote debugging enabled. To enable remote debugging navigate to the following settings on the device: Settings->Device Information->More Information->Developer->Remote Debugging.
  4. Run the Makefile by typing "make" into the command line.
  5. The device should prompt you to allow a remote connection, your Apache Cordova Firefox OS app will be installed to the device once you accept the prompt.

If Deploying to simulator:

  1. Open the Firefox OS simulator add-on by going to Tools->Web Developer->Firefox OS Simulator
  2. Start the simulator
  3. Click on the Add Directory button and then choose the manifest.webapp file in the framework folder of your Apache Cordova app.

cordova-firefoxos's People

Contributors

brianleroux avatar gtanner avatar hermwong avatar kkszysiu avatar mwbrooks avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.