Create application launcher

To create application launcher you should use launch() method from Application API. Also don't forget about adding "application.info" and "application.launch" privilages to config.xml.
// add following privileges to config.xml:
// <tizen:privilege name="http://tizen.org/privilege/application.info"/>
// <tizen:privilege name="http://tizen.org/privilege/application.launch"/>

function onLaunchSuccess()
{
	console.log("The application has launched successfully");
}
// you should replace com.tizen.example with your target application
tizen.application.launch("com.tizen.example", onLaunchSuccess);

Responses

0 Replies