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

Capture volume up button press?

Can a Firefox OS app detect when the volume up button has been pressed? If so, how? (maybe it's just a key event on document, haven't tried that yet)
feklee
  • 7,555
  • 9
  • 54
  • 72
5
votes
2 answers

Making an OS using linux kernel

I have been searching for a past few weeks about how to making an OS. I have also read may questions regarding how to make an OS like this one, What are some resources for getting started in operating system development? . I want to make an OS…
5
votes
4 answers

How to check if Firefox OS is connected to the internet or not

How do we check if Firefox OS device is connected to the internet or not? I have tried navigator.mozConnection, navigator.connection.type, navigator.onLine but it doesn't work. Please let me know. Thanks.
paolooo
  • 4,133
  • 2
  • 18
  • 33
5
votes
1 answer

Using the clipboard in FirefoxOS

Is it possible to access the clipboard in a Firefox OS app? If so, how? I know Internet Explorer has a way to do this using window.clipboarddata. However Firefox has never supported this. Do they use this method for Firefox OS or is there a…
Steve Glick
  • 698
  • 7
  • 19
5
votes
2 answers

Video from firefox OS phone plays back sideways

If I take a video using a firefox OS phone (Geeksphone Peek running stable 1.1), and download it to a computer, it plays back sideways (vlc). It doesn't play back sideways from the actual gallery though. The strange thing is, if I try to open…
Bob
  • 189
  • 6
5
votes
0 answers

Building Firefox os for Nexus 7 ( grouper ) gets error messages by using Ubuntu 13.10

I'm still building Firefox OS for Nexus 7 ( grouper ) by using Ubuntu 13.10. ( Follow the instruction from : https://wiki.mozilla.org/B2G/Nexus7 ) After had been fixing lots of problems, I encountered a issue. Error messages showed…
zeck
  • 769
  • 1
  • 7
  • 13
5
votes
2 answers

How to open a link in the default browser on Firefox OS?

I have a Firefox OS app where I want a link to open outside of the application (the link is to a different site, and opening it in-application would make the application unusable without a force-quite). How do I do that? Related bug report
Brendan Long
  • 53,280
  • 21
  • 146
  • 188
5
votes
2 answers

Is there any way to Pre-fill e-mail body in Firefox OS

Hi i want to know that is there any activity from where i can fill the email activity and start it from my program.. like this...
Areeb Gillani
  • 440
  • 4
  • 25
5
votes
1 answer

Is Uint8Array / Uint16Array conversion broken in Firefox OS simulator?

In case I'm just stupid, I'd be glad to her that. :) Here is my code: var t16 = new Uint16Array( new Uint8Array([1, 2, 3, 4])); console.log(t16.BYTES_PER_ELEMENT); for( var i = 0; i < t16.length; i++) console.log(t16[i]); And here is the…
MumpiH
  • 73
  • 1
  • 5
5
votes
1 answer

How to trigger native datepickers from javascript in FirefoxOS?

I want to open the native datepicker of FirefoxOS on a click on a button. By default, the native datepicker shows up when an input (date type obviously) has focus. But how to do this with for a button ? Moreover, I don't like date inputs, because my…
guillaumeb
  • 161
  • 2
  • 14
5
votes
3 answers

Firefox os privileged app error : call to eval() blocked by csp at jquery 1.9.1

I'm making the firefox OS webApp by jQuery. The application type is privileged for using systemXHR. So I define the permission at manifest file. App is working well at simulator. But when I push the app to device and click an any button, CSP error…
seong
  • 51
  • 1
  • 2
5
votes
5 answers

Firefox OS Architecture

Is there any information available on the core architecture of the Firefox OS? I don't mean developer-facing information only. I am interested in the underlying architecture similar to that of Android available here:…
recluze
  • 1,920
  • 4
  • 21
  • 34
4
votes
0 answers

Firefox stores cache even if meta tag is set to no-cache, no-store, must-revalidate and setting expires and pragma

It was required not to store any cache for Firefox. Seemed an easy task to me till when I've found that its becoming next to impossible to accomplish that. I first tried it using HTML, but it didn't worked:
Ashish Choudhary
  • 2,004
  • 1
  • 18
  • 26
4
votes
2 answers

What are the key differences in Firefox and Chrome App manifests

Both FF and Chrome have started supporting progressive web apps using app manifest and service workers. So what are the key differences to keep in mind while writing a manifest (or the same manifest file can work on both). And if it is a hosted…
4
votes
1 answer

Using device orientation with 3D transforms

There is this project that wants to implement a cube that has sides for east/west/up/ground/north/south which are supposed to always point in the respective geolocations. The necessary data is gathered from the deviceorientation API:…
thomas
  • 561
  • 2
  • 17
1
2
3
38 39