There is no multitasking in KaiOs so far, so it is sometimes useful to open system apps from an app without having to leave it.
Certain sections of the settings can be opened directly.The value of data.target is always "device" the section is defined in data.section.
Sections
geolocation
connectivity-settings
wifi
let activity = new MozActivity({
name: "configure",
data: {
target: "device",
section: "connectivity-settings",
},
});
activity.onsuccess = function () {
console.log("successfully");
};
activity.onerror = function () {
console.log("The activity encounter en error: " + this.error);
};
};```