Questions tagged [b2g]

Boot to Gecko (B2G) is a Mozilla Foundation project with the aim to create a standalone operating system for the web.

The web-based operating system developed under the name was published as (more information).

It was discontinued in 2016. The official support website can be found here.

28 questions
0
votes
1 answer

How to connect to rilproxy on Gecko

I am working on Firefox OS with Gecko v 1.3. I am getting error as below when i try to call(MO call). D/RIL_QC_B2G( 472): [SUB0] [0000]> DIAL 9900110046 0 E/RIL_QC_B2G( 472): [SUB0] Socket to RIL proxy is closed; ignoring request D/RIL_QC_B2G( …
AravindMS
  • 49
  • 7
0
votes
1 answer

firefox browser application runtime environment

In Firefox browser, when I write an app, Can I think this application runs on the runtime environment xulrunner? On the other hand, does this mean on the firefox browser, the runtime environment is xulrunner? is this correct? Thanks
Sam
  • 4,521
  • 13
  • 46
  • 81
0
votes
2 answers

How to use npapi plugins in b2g firefox OS

This is my first time on this site. I have a HTML/CSS/JS application. For that application to work, we also have a browser npapi plugin ".so" file that is installed in plugins dir of firefox. This works on firefox browser on Linux. Now I want my…
sqahmad
  • 11
  • 2
0
votes
1 answer

WebIDL defines unsigned short to JS Number type

I read a document and it points out that WebIDL defines IDL unsigned short mapped to JS Number. The range of unsigned short is from 0 to 65535. JS Number can be -9007199254740992 to 9007199254740992. This really confuses me since the big gape…
Sam
  • 4,521
  • 13
  • 46
  • 81
0
votes
1 answer

Things that defined by WebIDL

After reading this post, http://mcc.id.au/2013/lca-webidl/ I have some questions in the page 20, What happens when you pass too many/few arguments. What happens when you grab a Function corresponding to an IDL operation and apply it to some other…
Sam
  • 4,521
  • 13
  • 46
  • 81
0
votes
1 answer

WebIDL in Firefox browser / OS

From what I understand so far, WebIDL plays as the same rule as DOM does. The original DOMs (before WebIDL) were created by OMG IDL. However, this IDL is not specified for Javascript. Hence, W3C creates webidl which is kinda subset of OMG IDL and…
Sam
  • 4,521
  • 13
  • 46
  • 81
0
votes
2 answers

Cross-origin XHR timeout in Firefox OS

I'm trying to implement the Simple Push API and I'm trying to do a cross-origin XMLHttpRequest. I'm doing a test: function sendEndPoint() { var MAXIMUM_WAITING_TIME = 6000; if (!window.XMLHttpRequest) { …
Cod1ngFree
  • 1,873
  • 6
  • 21
  • 33
0
votes
0 answers

Thread communication through IPC

The scenario is how InputReaderThread communicates to b2g(main) thread. Is XPCOM needed in this scenario? Be more specific, will these threads communicate to each other through pipe? shared memory or socket? I dont find any document discusses this…
Sam
  • 4,521
  • 13
  • 46
  • 81
0
votes
1 answer

The way to detect usb connection via pc

Is there anyway to detect pc usb connection (not through charger) to Firefox OS device at Gaia layer? Any callback in Gaia layer also works for me. The reason I do this because I need to handle some events once the device connects to pc through USB.…
Sam
  • 4,521
  • 13
  • 46
  • 81
-1
votes
2 answers

KaiOS Spatial Navigation

I have tried to add a Spatial Navigation to my apps on KaiOS, but I can't achieve it. The Page has very low information. Example, when I add the following code: function nav(move) { var next = currentIndex + move; var items =…
-1
votes
1 answer

Read a file purely in javascript on Firefox OS(B2G)

I have to read a file from the file system of my phone. Essentially its to check if the file contains a word. The file is located in the /sys folder of my phone. I know I can get the contents of the File using FileReader.readAsText(file) to get the…
taz
  • 43
  • 4
-1
votes
1 answer

B2G - leo build error

I have downloaded leo code. I am getting below error when i try to compile the source code aravind.srinivas@abuild-server:~/B2G$…
-4
votes
1 answer

Why camera in KaiOS emulator (B2G) not working?

I want to make a QR Scan with KaiOS technologies, but that is not working in the KaiOS emulator. I'm using emulator version 2.2. But, I try on the web browser, the camera is worked.
Nyx47
  • 13
  • 1
  • 6
1
2