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

firefox-os
Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

JS off with "profile.set_preference("javascript.enabled", False)" for firefox(v35) doesn't work for selenium 47 and above. Is there any other way? [duplicate]

Doesn't work: profile.set_preference("javascript.enabled", False); It throws below error: java.lang.IllegalArgumentException: Preference javascript.enabled may not be overridden: frozen value=...
tyro's user avatar
  • 617
0 votes
1 answer
33 views

Check if FirefoxOS application is updated or installed for the first time

Is it possible to obtain if installed application on the Firefox OS device is updated - there was already a previous version of the application ? I would like to display a splash notification only ...
hsz's user avatar
  • 150k
1 vote
2 answers
132 views

Firefox OS app submission: "The webapp manifest is not valid JSON."

I want to upload my app to the Firefox marketplace. But when uploading my app, a validation error shows: The webapp manifest is not valid JSON. I am using this manifest code: { "name": "Web ...
Yousuf's user avatar
  • 313
1 vote
1 answer
241 views

What is the javascript/window event called when app is launched/opened in firefox OS phones from background?

I have a requirement that I want to trigger a javascript function whenever my app in firefox os phone is launched. Below event is called when app is launched initially: window.addEventListner("load",...
user3878988's user avatar
0 votes
0 answers
221 views

How to disable scaling from 4K to FullHD on Panasonic TV?

First of all, sorry for my English :) I'm developing an app for Panasonic 4K TV (50CX680E) using WebIDE(FF 42.0) on Windows 10. I'm connected to TV via Remote Runtime. My laptop screen resolution is ...
Mateusz Chmiel's user avatar
-2 votes
1 answer
88 views

How to get current CPU/Memory/WiFi traffic in FireFox OS App?

I want to use HTML5/CSS/Javascript code to get CPU / Memory / WiFi traffic data, but I cannot find how to use linux shell command in HTML: top /proc/meminfo /sys/class/net/wlan0/statistics/rx_bytes ...
Little Ming's user avatar
0 votes
1 answer
362 views

get msisdn in FirefoxOS

i'm trying to retrieve MSISDN in a FirefoxOS phone. i'm doing the extraction of other data, so i have many permissions on my manifest.webapp: "permissions":{ "mobileid": {}, "mobilenetwork": {}, "...
leandro713's user avatar
  • 1,298
0 votes
1 answer
216 views

onclick notification with clojurescript in firefoxos

i have this code to show a notification: (new js/Notification "call me" (clj->js { :onclick (js* "new MozActivity({name:'dial',number:'12345678'})") :sticky "true" :silent "...
leandro713's user avatar
  • 1,298
-1 votes
1 answer
121 views

using localforage with clojurescript for firefoxos

I'm using [cljsjs/localforage "1.2.10-0"] When I do: (.setItem (.localforage js/window) "mynumber" (clj->js {:number (.-value number)})) I get this error in WebIDE console: TypeError: *...
leandro713's user avatar
  • 1,298
2 votes
1 answer
2k views

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 ...
GLopez's user avatar
  • 183
2 votes
0 answers
104 views

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 ...
Shahanas's user avatar
0 votes
0 answers
20 views

Out to exit debug mode with orange boxes

I've a Firefox OS 1.3 on ZTE Open C device. By mistake, I selected the wrong debug option and now I can't use my phone normally: I have an orange box (surrounding elements) that I can move only by ...
Tolokoban's user avatar
  • 2,317
2 votes
1 answer
1k views

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 || ...
shane's user avatar
  • 459
1 vote
1 answer
138 views

How can I self-host the privileged or certified Firefox OS application on my web server?

We have developed a Firefox OS application. Now that I want to install the application in Firefox OS device from my local webserver,I have followed the steps given in this link: https://developer....
user3878988's user avatar
0 votes
0 answers
58 views

Firefox OS on android emulator, testing sms error

I have Firefox OS on android emulator. When I send sms from emulator, I want get different errors for testing. Is there a way to test various errors coming from android modem after fail sending sms? ...
Artem Rybin's user avatar
0 votes
1 answer
245 views

Printing from a mobile with Firefox OS

Is it possible - and if so, how? - to print from a Firefox OS phone? Looking for a real mobile solution - e.g., printing out a receipt using mobile phone and a small receipt printer (connected ...
Michal Skop's user avatar
  • 1,359
1 vote
1 answer
364 views

firefox OS Content Security Policy error XHR based application in Index.html?

I got this error in console. Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src app://fa91d835-176d-4fe7-bd06-fe7f57f11b68"). I tried to create a ...
Giri Annamalai M's user avatar
3 votes
0 answers
261 views

Cross-Origin request blocked blocked by Firefox OS on https

I'm writing a packed app for Firefox OS. I want to communicate with an external server via https. If I execute the app as normal website it is running but in Firefox OS or the simulator I receive ...
thz's user avatar
  • 111
2 votes
1 answer
83 views

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's user avatar
  • 1,170
1 vote
1 answer
136 views

How can I make a Ajax request & response with firefox OS?

I'm having a php function which returns a Json data from db. I want get all the json from the function and display that into my Firefox App. I tried Jquery Ajax. But its not working. Any other ...
Giri Annamalai M's user avatar
2 votes
1 answer
88 views

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 ...
Lithy's user avatar
  • 857
0 votes
0 answers
77 views

Read the phone number of device using javascript [duplicate]

I am developing an application for firefox os device. For some requirement I want to read the phone number of that device using javascript. Is there any api or method to read the phone number.
user3878988's user avatar
8 votes
3 answers
4k views

Gecko build failed error : Could not find autoconf 2.13., but autoconf already installed

I am trying to build Gecko Code, Which I have clone from Github : git clone https://github.com/mozilla/gecko-dev.git and I am getting autoconf 2.13 not found error, Which already installed in my Mac ...
Vinay Mishra's user avatar
0 votes
0 answers
104 views

FirefoxOS: Can't build b2g for Emulator on Mac -Yosemite

I am trying to build B2G on Mac - Yosemite (10.10.5)and I have a multiple version of Xcode 4.6.3,5.0.2, 6.4 and 7(beta 5). I follows the Mozilla Docs(https://developer.mozilla.org/en-US/docs/Mozilla/...
Vinay Mishra's user avatar
0 votes
1 answer
53 views

Does any Api in firefox OS support requestPermission() other than Notifications

I try to check if the user did not allow the permission for Contacts API and can i ask him again to grant the permission to my app using requestPermission() like in Notifications API https://...
Eslam Mahmoud's user avatar
1 vote
1 answer
264 views

Does Firefox OS support developing digital signage on Panasonic TV?

I need to know if Firefox OS on the Panasonic TV devices allows me to develop a digital signage application that looks like this <pre> ------------------------------ | | ...
ClintonGallagher's user avatar
0 votes
1 answer
718 views

How to play a playlist on Firefox OS?

How can I play my playlist (m3u, pls) on Firefox OS? If those formats aren't support, are there any other formats or workarounds to have your own playlists (instead of only albums and the predefined ...
Brutus's user avatar
  • 7,167
2 votes
1 answer
221 views

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, ...
Reuel Br's user avatar
0 votes
1 answer
94 views

Generating File in Javascript for Firefox OS

I'm developping a Firefox OS application and i'm looking for generate a files with Javascript. I know how to use DeviceStorage API and I also know that a file has property of Blob. But I would like ...
Romain Caron's user avatar
1 vote
1 answer
66 views

Firefox OS Simulator media storage

I'm testing the Firefox Simulator recently, and I noticed that for the add-on simulator the Gallery reads the pictures from /pictures on my pc, and Video reads the videos from /videos as well. Later ...
Jane's user avatar
  • 31
1 vote
2 answers
195 views

Port B2G to a specific device

In the Firefox OS documentation, one can read : If your device isn't listed, you should stop right now and either help port B2G to your device or wait until someone else does it. We'd prefer it if ...
Geoffroy's user avatar
  • 1,081
0 votes
2 answers
594 views

Panasonic API for Firefox OS Apps

Thanks to MDN I successfully deployed a simple app on my Panasonic CXW754. So far so good. Now I'd like to have access to screen settings like brightness etc. Is there an API provided by Panasonic or ...
Benjamin Seber's user avatar
3 votes
0 answers
136 views

Firefox OS app not displaying after deployment to Panasonic TV

I have created a simple Firefox OS app and succesfully deployed it to a Panasonic TV using the Firefox WebIDE. The app appears in the apps page and it runs succesfully. However the icon is missing. I ...
Rob Hofker's user avatar
2 votes
2 answers
268 views

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 ...
Jane's user avatar
  • 31
0 votes
3 answers
153 views

Will the firefox os emulator be detected by running adb devices command?

I'm currently doing a project and I'm wondering if I can push the files I get from the device to the emulator and read them. I know that if you run the emulator of Android, the system can detect it ...
Jane's user avatar
  • 31
0 votes
1 answer
107 views

Locking width and height along with orientation lock in Firefox OS

I am developing an app for Firefox OS which should always work in portrait view so I locked the orientation by using screen.mozLockOrientation("portrait"); It works well But when I rotate the ...
Sandeep Thedarkprince C's user avatar
1 vote
0 answers
50 views

App Orientation not working in Firefox OS packaged "web" type app

I am trying to make an app which should always work in portrait view. I usually test the app in my device by uploading all files including the manifest file in a local apache server and install it in ...
Sandeep Thedarkprince C's user avatar
0 votes
2 answers
2k views

fastSeek method not working in Firefox OS device Spice MIFX1

I am trying to make an app for Firefox OS where I use the fastSeek method. There is a function which play the audio from beginning as shown below. var tapSound=new Audio("sounds/tap.wav"); function ...
Sandeep Thedarkprince C's user avatar
0 votes
2 answers
119 views

How to test privileged Firefox OS app before publishing in Marketplace?

I am trying to develop a privileged packaged firefox os app. And from MDN I came to know that privilaged apps will be verified and published by the marketplace. And there are certain API s like "...
Sandeep Thedarkprince C's user avatar
1 vote
1 answer
71 views

FirefoxOS - Redirect path

today I'm developing an app for Firefox OS, but I have a problem. I would use the OAuth2 method for receiving the access token, but I don't know where redirect the page after the Authorization. What ...
Carme's user avatar
  • 13
1 vote
1 answer
464 views

Drag and drop issue firefox

When I click an image inside a div and try to drag only the image is dragged not the whole div.It creates an out of memory exception when I drop that inside a new div html: <div class="...
nakshatra 5's user avatar
0 votes
1 answer
44 views

Firefox OS device graphics issue

I am developing a firefox os app which has a single html page. Different sections of app are created as divisions with 100% width and height with fixed position and with different z-index values(It is ...
Sandeep Thedarkprince C's user avatar
0 votes
1 answer
76 views

Debugging-Editing JavaScript files of App's in Gaia-Firefox OS doesn't reflect in the simulator

I have Mozilla Firefox browser 35.0.1 with App Manager tool in the browser. I installed Firefox OS Simulator 2.0 in the App manager. There are 2 tabs here, in the tool -Apps and devices Here in my ...
Deepthi Venkat's user avatar
0 votes
1 answer
636 views

Operation timed out: installing and running app

I'm getting the following error message when I try different operations such as installing an application to a Firefox OS simulator: Operation timed out: installing and running app I've tried ...
Chris Snow's user avatar
  • 24.1k
2 votes
1 answer
135 views

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 ...
Chris Snow's user avatar
  • 24.1k
2 votes
2 answers
410 views

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. <input type="button" class="mainmenu" value="Practice"/> .mainmenu{ background-color:#FF0000; } It is working fine on all ...
Sandeep Thedarkprince C's user avatar
0 votes
1 answer
49 views

JS-Ctypes on Firefox OS

I had used js-ctypes on Firefox OS app long ago but I dont seem to be able to do it now. I can't even use Components, has js-ctypes been disallowed form FxOS apps?
Noitidart's user avatar
  • 36.4k
2 votes
1 answer
137 views

Building Firefox OS 2.2 on Ubuntu 14.04

I am trying to build Firefox OS 2.2 on Ubuntu 14.04, but I keep running into an error that reads: configure: error: Only GCC 4.6 or newer supported *** Fix above errors and then restart with\ ...
user avatar
1 vote
1 answer
138 views

How to use External APIs(google map) in a packaged App

My application requires external URL of GoogleMap API to be executed in a packaged App. When I execute the code on simulator, I get the following error in Security Tab "Content Security Policy: The ...
Rashmi Laroia's user avatar
1 vote
1 answer
77 views

How to use WiFi management API

My application on FF OS needs to configure SSA settings. For this I need to invoke WiFi management API provided by Mozilla. When I try to execute in my code I am getting error "Undefined Error ". ...
Rashmi Laroia's user avatar

1
2
3 4 5
12