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

How to upgrade Firefox OS simulator with nightly Gaia?

I'd like to work with Gaia's Contacts App to verify some of my work. As far as I can see, simulator 4.0 as well as 5.0pre3 give me just a white page for the Contacts. I was able to load the nightly Gaia build and see the Contacts app in the…
MumpiH
  • 73
  • 1
  • 5
0
votes
1 answer

Does firebase work with Firefox OS?

I am trying to figure out if firebase is supported on firefox OS. I guess yes because Firefox OS Apps are built in html5 and javascript but I am not sure if there is a security restriction or something like that.
hopper
  • 4,230
  • 8
  • 36
  • 49
0
votes
1 answer

FirefoxOS Marketplace - Invalid Archive

Trying to push an application to the Firefox OS Marketplace and getting the detailed error "Invalid Archive"? The App Validator works fine and reports no errors. I have pushed other apps zipped up in the same way (using WinRAR) with no issue. There…
Andrew Hall
  • 3,058
  • 21
  • 30
0
votes
1 answer

How to use images from the device in Firefox OS

In the application I'm building I want to show images from the device, but can't seem to figure out the proper way to do it. I'd like to let the user pick image, save the choice in localStorage and show it in img element. I tried modifying Firefox…
Milos
  • 311
  • 3
  • 9
0
votes
2 answers

App doesn't geolocate after installation on FF OS

I've written a web app for Firefox Mobile / Firefox OS. My app uses geolocation. It worked well when I tested it with Firefox for Android and the FFOS simulator add-on by visiting the web address of the application. Recently I've passed the Firefox…
GDR
  • 2,301
  • 1
  • 21
  • 26
0
votes
2 answers

Phonegap Storage API for Firefox OS (indexed db)

I want to use Phonegap on firefox os but I have a problem on storage api. Current cordova version 3.0, supports websql and localstorage API. It doesn't have indexedDB API yet. So, my current option is to use Lawnchair. But do you have a good idea on…
paolooo
  • 4,133
  • 2
  • 18
  • 33
0
votes
1 answer

Firefox OS App Manifest throwing NS_ERROR_FAILURE error

I'm building a Firefox OS app, and on the following line of code: var app = navigator.mozApps.install('mymanifest.webapp'); Firefox Console throws an error: Error: NS_ERROR_FAILURE: INVALID_URL: '/mymanifest.webapp', Source File:…
Ian Davis
  • 19,091
  • 30
  • 85
  • 133
0
votes
2 answers

FirefoxOS: return array using device storage api

I am just getting started with coding for FirefoxOS and am trying to get a list of files in a directory. The idea is to find the name of each file and add it to the array (which works), but I want to return the populated array and this is where I…
SeekTom
  • 296
  • 1
  • 5
0
votes
1 answer

Communication between different HTML page on different devices

I'm beginning to develop a program(in the beginning at least) aimed at Firefox OS to transfer files(Music, Pictures and Video) from another device(lets call it device2) to the device(device1) running Firefox OS. One problem is how to transfer files…
0
votes
6 answers

Firefox OS : Getting Started Tutorial

I want to start development in Firefox OS . So I want some blog tutorials or video tutorials for getting started. Sample code also will be sufficient.
Hardik Sondagar
  • 4,347
  • 3
  • 28
  • 48
0
votes
1 answer

Change headers for a specific file

I have a manifest.webapp file in my app's public folder. I can access it in normally, but the request came as text/plain, and I need it to be application/x-web-app-manifest+json. I tried to put the following in my environment: Mime::Type.register…
caarlos0
  • 20,020
  • 27
  • 85
  • 160
0
votes
5 answers

Icon not displayed on Firefox OS Simulator

I just started developing applications for firefox OS. I done a sample application and it is working perfectly. My issue is in my simulator my application Icon is not displayed. It uses the default icon. I added the below code in my manifest…
Midhun MP
  • 103,496
  • 31
  • 153
  • 200
0
votes
4 answers

Firefox OS 'HELLO WORLD' development

i want to develop apps for Firefox-OS but i simply cant understand where to start from. Okay i have firefox Os simulator installed, i got my notepad open, I know html 5, css3, JS, jQuery bla bla bla...I googled but simply couldnt find the tutorial…
Newton Sheikh
  • 1,376
  • 2
  • 19
  • 42
0
votes
1 answer

Unable to deploy Hosted app into Firefox OS marketplace from Tomcat

I'm trying to deploy a hosted app into firefox marketplace. I'm using tomcat as server. When i'm submitting my manifest.webapp file, its showing me an error "Manifests must be served with the HTTP header "Content-Type:…
0
votes
1 answer

How to consume SOAP web service in Firefox OS?

What is best-practice way of consuming a SOAP web service in Firefox OS? Are there any Firefox OS specific issues I should pay attention to or it comes down to a problem of consuming a web service from JavaScript (where I can use JQuery AJAX or…
vladimirp
  • 1,474
  • 5
  • 17
  • 24