This method creates a shortcut of an app on your home screen - referencing to a js file runnable with DS.
Note: since Android 9 this method prompts a system dialog
Example - Demo
function OnStart()
{
var file = app.GetAppPath() + "/" + app.GetAppName() + ".js";
app.CreateShortcut( "Demo", "/Sys/Img/Icon.png", file );
app.ShowPopup( "Add Shortcut" );
}