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
2
votes
1 answer

Building Firefox OS 2.2 on Ubuntu 14.04

I am trying to build Firefox OS 2.2 on Ubuntu 14.04, but I keep running into an error that reads: configure: error: Only GCC 4.6 or newer supported *** Fix above errors and then restart with\ "make -f client.mk build" > Build failed!…
user5081474
2
votes
1 answer

Firefox OS - save file in the app directory

I am currently developing an audio editing application for firefox OS (github). That uses, for playback, Howler JS (link). On Firefox OS, I can easily play audio files which are within the application folder (does not matter where) only by passing…
LoreV
  • 575
  • 5
  • 25
2
votes
0 answers

Foreground App detection of Firefox OS

In Android, we can use "dumpsys activity top" to obtain the Foreground App information. But in Firefox OS, the dumpsys command not provide the Foreground App information. Dose their have any way to detect which Foreground App are running?
Hank
  • 31
  • 2
2
votes
1 answer

Firefox Marketplace API: app icon stays default after successful upload

I try to update the Firefox Marketplace entry of an app programatically via the Python API. I am able to successfully upload screenshots using the client.create_screenshot(app_id, filename) method from the module marketplace against the development…
Rias
  • 1,956
  • 22
  • 33
2
votes
1 answer

How to work with localization/translations in Firefox OS/b2g

There seem to be a lot of variations of how the workflow for localization should be. When I look at the documentation I find differences on all of the…
tirithen
  • 3,219
  • 11
  • 41
  • 65
2
votes
1 answer

Cookie management after 302 redirection with XMLHttpRequest

I'm developing a Firefox OS client for ownCloud. When I try to login and send the user credentials to the server, I need to obtain in response the cookie that I will use to authenticate in ownCloud in each request. My problem is that as I’ve seen…
2
votes
1 answer

WebIDE Firefox OS Simulator Operation Failed: connecting to runtime

Complete noob at this. Trying to get Firefox OS simulator working to learn to write apps for Firefox OS. Running openSUSE 13.2. I cannot start the simulator. I install Firefox 34.0.5, I enable verbose logging for Firefox OS 1.3 and 1.4 as described…
user93563
  • 51
  • 3
2
votes
1 answer

When upgading the db version in indexed db make error in firefox os . "A request was aborted, for example through a call to IDBTransaction.abort."

When upgading the db version in indexed db make error . "A request was aborted, for example through a call to IDBTransaction.abort." ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. For…
anfas
  • 356
  • 2
  • 3
  • 13
2
votes
1 answer

Javascript onClick() function is not working for Firefox OS Mobile App

I am writing an app for Firefox OS mobile app and I am calling a Javascript function onClick() from a div attribute. Now, it works in the normal browser but when I am testing it in the simulator, the onClick function is not being called. The code's…
2
votes
1 answer

audio capture and playback not working using mediarecorder api and html5 audio tag in firefox os

I want to capture voice at interval and play it in a audio tag. https://hacks.mozilla.org/2014/06/easy-audio-capture-with-the-mediarecorder-api/ this link of dictaphone sample is a good site for this. Here used record.onclick = function() { …
Feru Maximus
  • 91
  • 1
  • 7
2
votes
1 answer

setTimeout and setInterval not working in Firefox OS

In Firefox OS setTimeout and setInterval method does not support for Firefox OS content security policy ( https://developer.mozilla.org/Apps/CSP ). But if i want to use this type of method then what will be the process instead of this method.
HelloLinkon
  • 348
  • 1
  • 7
2
votes
1 answer

IndexedDB UnknownError "A request was aborted, for example through a call to IDBTransaction.abort." occurs in Firefox OS app

When trying to insert more than 10000 records to IndexedDB in a Firefox OS app, I get an UnknownError "A request was aborted, for example through a call to IDBTransaction.abort." I am trying to insert records to 3 different tables. Anybody can…
anfas
  • 356
  • 2
  • 3
  • 13
2
votes
3 answers

Unable to flash my Mozilla Flame with new Firefox OS

I have been following the instructions mentioned in https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame for getting the task done. The following things have been done and are working: Remote debugging enabled and Screen lock…
M. Ahmad Zafar
  • 4,881
  • 4
  • 32
  • 44
2
votes
2 answers

How to create a packaged app on Firefox OS capable of getting data from external webpage

I am trying to create a packaged app for Firefox OS which would allow the user to search for a specific content (pictures in this case) from different webpages, and simply see them without having to go into each webpage. My question is, how can I…
aliasbody
  • 816
  • 3
  • 11
  • 25
2
votes
1 answer

Validation error while submitting app to Firefox Marketplace

I was validating my manifest on this page with this manifest URL of my app hosted on GitHub: https://raw.githubusercontent.com/my_username/my_application/master/manifest.webapp This is the error I got: Manifests must be served with the HTTP…
Rahul Desai
  • 15,242
  • 19
  • 83
  • 138