Launch ‘Settings’ app from wearable web application
Launch ‘Settings’ app from wearable web application so that user may change/enable some options that might be required for the app to function. Application Id of device settings application:
com.samsung.clocksetting /org.samsung.clocksetting
Application Launch privilege is required to launch Set
//launchSettings.js
function onSuccess () {
console.log(“Launched Settings”);}
function onError () {
console.log(“Cannot Launch Settings”);}
var appId=" com.samsung.clocksetting"; // For Samsung device
var appId2="org.tizen.clocksetting"; // For other device or Emulator
tizen.application.launch(appId, onSuccess, onError); // appId or appId2
//config.xml
<tizen:privilege name="http://tizen.org/privilege/application.launch"/>