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

How to create a text editor in with line numbers in a web app

I'm trying to create a text editor with line numbers, which increments with the lines increase. Well, my focus is to make the UI that will do good in Firefox OS as a privilege app. But in UI what css and html need to be used to create a text-field…
Rahul Chakrabarty
  • 2,149
  • 7
  • 39
  • 70
2
votes
1 answer

Why are the icons not showing up on Firefox OS Simulator?

I just installed Firefox 33 and went to the simulator and the icons are not showing up. At work I downloaded it and it worked fine. I have tried to install twice and the same affect. How do I get the icons to show up on the simulator screen?
user3376708
2
votes
2 answers

firefox OS app,CORS in Firefox os app

I have been developing web-app(not hosted app) in firefox OS . I want to access the websites xml/JSON data using XMLHttp request. but it gives error as CORS not allowed to access the data . I know about to add 'Access-Control-Allow-Origin' header in…
Rohan Lopes
  • 165
  • 7
  • 18
2
votes
2 answers

Install firefox os apps available on Marketplace using App Manager

I am trying to install App using App Manager in Firefox OS device. But my problem is I am unable to push any of the apps which are published on MarketPlace. It show that The webapp manifest isn't a valid JSON file: SyntaxError:…
Rahul
  • 1,607
  • 3
  • 23
  • 41
2
votes
1 answer

Adding mime type handler

I want do develop an app for Firefox OS that should handle tickets inside *.pkpass files. The problem is, there seems to be no way to get a pkpass file from an email if it's attached as an attachment nor does the browser allows me to download it…
BORODA
  • 21
  • 2
2
votes
1 answer

File API and name encoding

I've just started to play with Firefox OS doing first app. In app I'm using File API in order to get list of files in storage, but there is a problem here, I'm getting cyrillic paths in name property like this: Moonbeam/Moonbeam/Albums/(2008)…
nazar-pc
  • 305
  • 4
  • 11
2
votes
1 answer

Alternative of onclick for html5

Due to CSP restriction on Firefox OS Marketplace i cant use onclick on html5 page, can anyone please tell me alternative of onclick for HTML5 here…
user3731917
  • 31
  • 1
  • 1
  • 3
2
votes
1 answer

Can I generate a FirefoxOS App from game written using starling framework?

A friend of mine has developed an excellent game using the starling framework. He is now wondering if he could port the game to FirefoxOS before he launches. The game is written in actionscript 3 and the starling framework project can build mobile…
Aras
  • 5,878
  • 9
  • 49
  • 76
2
votes
1 answer

Firefox OS: Back up and restore user data

I am trying to upgrade my ZTE Open from FFOS 1.1 to 1.2. According to the instructions: Note that those steps will erase your personal data, so be sure to make a (backup) first. However, the backup link doesn't really seem to be talking about…
Joel Cross
  • 1,400
  • 15
  • 22
2
votes
1 answer

File Picker on Firefox OS

There is a library for create a simple file picker that not use an app on the phone? For example if i want get a file like doc or txt it's impossible use an app with the MozActivity so it's needed a custom way. For example in my app…
Mte90
  • 115
  • 3
  • 13
2
votes
1 answer

AngularJS $LogProvider throws File Error in Firefox OS 1.1

I have a Cordova app that runs Angular 1.2.16. It runs perfectly on all platforms and browsers except on Firefox OS 1.1. Works well on Firefox OS 1.2. Please see linked SO article which has test cases - I have the same problem, but instead get…
Design by Adrian
  • 2,185
  • 1
  • 20
  • 22
2
votes
2 answers

Can I install an app as certified on my own phone? (Firefox OS)

Is there any way that I can develop an app for Firefox OS that uses a certified API and install it on my own phone? Our specific need is for telephony data such as signal strength. We can do this on Android without any difficulty (indeed, we could…
Martin Ellison
  • 1,043
  • 1
  • 13
  • 25
2
votes
1 answer

How can I change the wallpaper on a Firefox OS device?

I have recently been learning about Firefox OS/B2G. I am aware of the extensive set of APIs in place that are able to fetch images from the wallpaper gallery, change settings and set reminders (to name a few). However, I'm completely stumped as to…
Fin Moorhouse
  • 335
  • 5
  • 15
2
votes
2 answers

Can Wifi Calling protocol be programmed into FirefoxOS?

Using TCPdump, when connecting wifi-calling I saw DNS request to snq.t-mobilesgws.com. Then it does some ISAKMP protocol requests, TLSv1, then "ESP" protocol, according to Wireshark. I'm glad to see it doesn't send the IMEI in plaintext over wifi,…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
2
votes
1 answer

Firefox OS: Callback before app terminates

Is there a callback function in Firefox OS before it crashes the whole app? because I want to send a crash report.
paolooo
  • 4,133
  • 2
  • 18
  • 33