Add a Web Activity handler to auto connect to a WiFi network

NEW
Unassigned

Status

Firefox OS
Gaia::Settings
3 years ago
3 years ago

People

(Reporter: André Fiedler, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Background:

I did a QR-Code Scanner app for Firefox OS (https://marketplace.firefox.com/app/qr-reader). Last week I got a review that suggested to add WiFi auto configuration (http://psung.blogspot.de/2010/12/easy-wifi-autoconfiguration-with.html) to my app.
The only way by now to do this, is using the Gaia Settings API. But the API is certified only. So I can't implement such a functionality.

It would be nice, if I can call an Intent / a Web Activity like:

  new MozActivity({
    name: "wifi-connect",
    data: {
      ssid: "mynetwork",
      type: "WEP",
      password: "00deadbeef",
      hidden: false
    }
  });

This will open the Settings app showing the WiFi connect card pre-filled with the given connection parameters.
You need to log in before you can comment on or make changes to this bug.