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

How to handle different screen resolutions in Firefox-OS?

I need to display a full screen image in Firefox OS. I have a "peak" dev preview phone with qHD resolution (960x540px). How can I make sure my app will look good on other firefox-os devices with different screen resolutions as well?
vladimirp
  • 1,474
  • 5
  • 17
  • 24
3
votes
2 answers

Send email from FirefoxOS app with content

I'm trying to send an email from a FirefoxOS App to share content generated by it. Currently I'm using: var createEmail = new MozActivity({ name: "new", data: { type : "mail", } }); But I haven't been able to find any way of appending or…
Eldelshell
  • 6,683
  • 7
  • 44
  • 63
3
votes
2 answers

How to implement notification in Firefox OS?

I have an instant messaging application almost complete the only thing I'm missing are firefox notifications for you. As is the API?
Jaumesv
  • 1,065
  • 3
  • 11
  • 19
3
votes
4 answers

Firefox OS packaged apps and XMLHttpRequests

I've been looking into packaged apps for Firefox OS and I'm relying on the Simulator since I don't have a build of the OS on a device. I'm having trouble with XHR requests and I'm not sure if the issue is a setting I'm overlooking or if the…
aerych
  • 51
  • 1
  • 3
2
votes
3 answers

Unique device identification for KaiOS featured phones

I am trying to find unique device identification in KaiOS featured phones such as Jio Phone. I am developing an app for featured phone using plain JavaScript and need to uniquely identify each mobile device, I am unable to find any solution for…
2
votes
0 answers

React (add-on) Tab absent in Firefox -> webIDE -> developer tools

I have my react app in kaiOS based device. I have webide running the app on my device. I want to be able to debug the app and see the react states/props just like a normal react app running in chrome/Firefox browser environment. Issue is: I don't…
2
votes
1 answer

Notification icon doesn't show

I have a little problem with my app, it seems that notifications don't show the icon. According to https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon#Firefox_OS_notes there is a bug in Firefox OS with relative paths, but none of the…
GLopez
  • 183
  • 2
  • 13
2
votes
0 answers

Sources and sinks of firefox os application

I am developing a tool for Firefox OS application analysis. The tool uses static code analysis for source and sink identification. Then dynamic analysis to taint data from source to sink. I used Esprima to parse the JavaScript code and used the…
Shahanas
  • 71
  • 7
2
votes
1 answer

Type-error : network is undefined

I have the following code in a firefox app which I created (it gets network bandwidth and displays it in element with id="dynamicdata"): //var battery = navigator.battery || navigator.mozBattery || navigator.webkitBattery; var network =…
shane
  • 449
  • 4
  • 17
2
votes
1 answer

How do I know which variant of Firefox OS is on my phone?

I want to run UI tests on my Firefox OS phone. This article says I can't have a user build. So, how do I know which one I already have installed on my phone? I already know how to enter ADB Shell.
Luka Žitnik
  • 1,160
  • 8
  • 15
2
votes
1 answer

Efficient HTTP streaming in Firefox OS

I need to handle an infinite HTTP response (with Transfer-Encoding: chunked header). This response contains a stream of images, so it must be handled as efficiently as possible. XmlHttpRequest is not a solution here since it keeps all the reply in…
Lithy
  • 817
  • 12
  • 23
2
votes
1 answer

How to set a timeout for Firefox OS TCP Sockets

I am working on a firefox-os app that tries to connect to a list of IP's in sequence through the TCP Socket API. However, I would like to close the socket if it doesn't connect within a few seconds, and also if the connection is inactive for more…
Reuel Br
  • 21
  • 1
2
votes
2 answers

How to read SMS and Call logs of a Firefox OS phone?

For SMS, I have pulled the sqlite file and put it under the corresponding directory of the simulator on PC, but it didn't read. Is it because Mozilla hasn't provided the function of SMS on the simulator? What if I build the emulator myself, can it…
Jane
  • 31
  • 3
2
votes
1 answer

how to change the display size of the firefox-os simulator?

I'm running Firefox OS 2.0 simulator via Firefox WebIDE. The MDN Firefox OS doc only states 320x480 pixels for the device size, but some of the supported devices have much higher resolutions available. I would like to be able to change the device…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
2
votes
2 answers

Plain background colour for buttons is not supported by Firefox OS

I ve created a button in html and styled it using css as below. .mainmenu{ background-color:#FF0000; } It is working fine on all browsers with background color of the button as plain red but…