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
3
votes
2 answers

Show Firefox OS devtools on Firefox Developer Edition 'desktop'

I've an iMac with OS X Yosemite v.10.10.3. I use Firefox Developer Edition 40.0a2. I've a ZTE Open C (FR version) with Firefox OS; Boot2Gecko 2.1.0.0-prerelease (B2G OS). What I'd like to do is the following: I've a basic webpage (mostyl HTML, CSS…
3
votes
2 answers

Broadcast events in Firefox OS

I am wondering if there is a way for a Firefox OS app to broadcast an event to all other apps and for the interested apps to hook on that event and trigger a corresponding action. An example of use case I have in mind: the Camera app broadcasts the…
Alessandro Cosentino
  • 2,268
  • 1
  • 21
  • 30
3
votes
1 answer

Is FirefoxOS secure enough to store passwords in indexeddb or localstorage?

As far as I'm aware, there is no yet standard way to save credentials in FirefoxOS. There is no such thing as AccountManager like android. So each app has to save credentials on their own. Which means that you have to fallback to things like…
Loïc Faure-Lacroix
  • 13,220
  • 6
  • 67
  • 99
3
votes
3 answers

Get user's phone number in Firefox OS

Is there any way to fetch user’s phone number in Firefox OS? If so, any help would be appreciated.
3
votes
2 answers

no device connected while trying to connect firefox os handset with Firefox app-manager or webIDE

I need help for the following issue.. I am trying to connect Symphony GoFox F15 handset of Firefox OS with Firefox nightly v36 (browser). but it says "no device connected". I installed ADB Add-ons also. I also tried using adb.exe of android. when I…
Feru Maximus
  • 91
  • 1
  • 7
3
votes
0 answers

Problems with remote debugging, /data/local/debugger-socket not on my device

I recently flashed Firefox OS 2 on my ZTE Open C, and since then, it is impossible for me to do remote debugging. I use the following command to forward the required stuff via adb : adb forward tcp:$port…
3
votes
1 answer

how do I play a mp3 file from my application while in background?

I am doing a podcast manager application for Firefox OS. So far I managed to download files and save them on the sdcard. For playback I am using MozActivity because I want the file to be played in an installed music player. Here is the code for…
Adrian
  • 1,006
  • 2
  • 9
  • 20
3
votes
2 answers

How to test privileged packaged apps on Firefox for Desktop?

It is possible to distribute a packaged app via Firefox Marketplace for installation on Firefox for Desktop. Apps for Firefox OS devices I can test comfortably via about:app-manager either on a USB connected device, or with the simulator. How can I…
feklee
  • 7,555
  • 9
  • 54
  • 72
3
votes
5 answers

Display icon in notifiaction FirefoxOS

I want display an icon in Notofication Firefox OS for that I use this code : var img = './images/icon-30.png'; var notification = new Notification('Notification', { body: 'Body Notification', icon: img }); notification.addEventListener('click',…
2dar
  • 611
  • 2
  • 9
  • 22
3
votes
1 answer

Firefox OS App Automation

I've been searching about Firefox OS/Firefox for Mobile App Automation. Though there's Marionette we can try on: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette I can't seem to find a Selenium library to use in testing Firefox OS…
3
votes
2 answers

Example of Firefox OS cross-platform compatibility?

From what I had heard of Firefox OS, one big advantage was that you could build an offline, locally-stored "app" that works on Firefox OS, Android, (and Windows/Mac/others?) with one code-base. However, after looking at the MDN Howtos, I can't seem…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
3
votes
2 answers

IndexedDB Reference Error: db is not defined

I'm trying to create an application for Firefox OS which basically needs to store some data using IndexedDB. The store() function is called when the user clicks on a submit button which results in the creation of the name and description variables…
Sayak
  • 119
  • 1
  • 8
3
votes
2 answers

Is there an advertising network for firefox OS

Does anybody know of an advertising network which supports Firefox os. I know AdSense would work because its HTML but im not sure if its allowed by their rules etc. Would it be allowed on hosted apps because they are websites?
Hamzah Malik
  • 2,540
  • 3
  • 28
  • 46
3
votes
2 answers

Add songs to FireFoxOS simulator

Anyone know how to add song files to FireFox OS simulator? Is it Possible or not? I enabled the USB storage in the simulator. But now it showing Media Storage 0B is available. Thanks...
user4232
  • 592
  • 1
  • 12
  • 37
3
votes
4 answers

Error :Submitting the app to Firefox Market Place

I am trying to submit a new app into the firefox marketplace but I don`t know why it is showing the below error.. Your app failed validation with 1 error. Error extracting manifest from zip file. I cannot install it through server to b2g mobile…
Ash
  • 239
  • 2
  • 9
  • 25