This method creates a shortcut of an app on your home screen - referencing to a js file runnable with DS.

app.CreateShortcut( name, iconFile, file, options )

Note: since Android 9 this method prompts a system dialog

Example - Demo click to expand contents