Questions tagged [firefox-os]

Firefox OS is a discontinued open source HTML5 based operating system developed for mobile devices by the Mozilla Corporation. Firefox OS was designed to run apps that are implemented in HTML, JavaScript, and CSS

Mozilla discontinued support for Firefox OS in February 2016.

Firefox OS (also known as ) is an open source HTML5 based operating system developed for mobile devices by the Mozilla Corporation. Firefox OS is designed to run apps that are implemented in HTML, JavaScript, and CSS. The operating system also supports syntax like WebGL. It's constructed with three main components: Gaia, Gecko and Gonk. Together, they enable the power of Web technologies in your hands on a mobile device.

Gaia (Tag ) is the user interface layer for Firefox OS devices; it is a collection of HTML5 applications and APIs that implement system functions and applications like email, calendar, and OS settings.

Gecko (Tag ) is the layer of Firefox OS that provides the same open web standards implementation used by applications like Firefox and Thunderbird. This layer is where the magic happens: it's responsible for HTML, CSS and JavaScript rendering as well as proxying the JavaScript APIs to Gonk.

Gonk is the lower level operating system layer underneath Gecko. This consists of a Linux kernel and a hardware abstraction layer to which Gecko communicates.

Firefox OS Apps Types

  1. Packaged apps

    A packaged app is an Open Web App that has all of its resources (HTML, CSS, JavaScript, app manifest, and so on) contained in a zip file, instead of having its resources on a Web server. This article provides an introduction to packaged apps and links to everything you need to know about packaged apps from a developer standpoint.

Go through this link for more information.

Types of packaged apps

    - Web app

    - Privileged app

    - Internal (Certified) apps
  1. Hosted apps

    A hosted app is an Open Web App that has all of its resources (HTML, CSS, JavaScript, app manifest and so on) stored on a Web server. This article provides an introduction to hosted apps and links to everything you need to know about hosted apps from a developer standpoint.

Go through this link for more information.

FAQ

Resources

Firefox OS Books

584 questions
0
votes
2 answers

Open all links in browser without jquery- Firefox OS

I found this solution on stackoverflow. But how is this possible without jquery? $('a[href^=http]').click(function(e){ e.preventDefault(); var activity = new MozActivity({ name: "view", data: { type: "url", …
Shreyas
  • 65
  • 2
  • 8
0
votes
1 answer

Parsing .txt file in HTML for Firefox OS

I'm trying to develop an app which needs to parse a text file (either remotely hosted or bundled with the app) and show the users certain data based on their criteria. I have been trying to find information about how to parse a text file, but I…
noloman
  • 11,411
  • 20
  • 82
  • 129
0
votes
2 answers

FirefoxOS: From mozCamera to binary data

The mozCamera API provides an interface "CameraManager.getCamera(... onsuccess(camera) ... )" which gets an object 'camera' of class CameraControl. When I look at its API. CameraControl's member function '.getPreviewStream()' providedes a…
Frank-Rene Schäfer
  • 3,182
  • 27
  • 51
0
votes
1 answer

How to download a web page content in FireFox OS?

var gethtml = document.querySelector("#gethtml"); if (gethtml) { gethtml.onclick = function () { $('#gethtml-presenter').load('http://asd.com/rss/').fadeIn('slow'); addNotification("hello", "downloaded page"); …
lacas
  • 13,928
  • 30
  • 109
  • 183
0
votes
2 answers

Install Firefox OS on Nexus 7 get error messages assert failed

I installed Firefox OS (version 1.2) which was downloaded from XDA with ClockworkMod on my Nexus 7 , but i got error messages. The error messages showed : Installing update... assert failed: getprop("ro.product.device") == "flo" || …
zeck
  • 769
  • 1
  • 7
  • 13
0
votes
2 answers

Firefox OS: How to implement mp4 and m3u8 streaming

I want to make a Firefox-OS application to stream video files in .mp4 (H.264) and later in .m3u8 format. With the
0
votes
1 answer

Firefox OS get selection from drawer with Building Blocks

I am trying to do a drawer menu for in my Firefox OS app, based in the Bulding Blocks from Firefox team: http://buildingfirefoxos.com/building-blocks/drawer.html At the moment I have a menu button that show and hide the menu, but I can not change to…
Sqlumee
  • 1
  • 1
0
votes
1 answer

Image Chooser in firefox os

I am new to Firefox OS app development.. I am trying to create the simple image viewer and I write the following html code Image App