Back

StartApp

JS Py
Hello World

Starts an app in a new window.

app.StartApp( file, options='', intent? )

Note: This function does only work in APKs because in the IDE your app is already running.

See Also: StopApp

Example - Example

function OnStart()
{
    app.StartApp( "/sdcard/DroidScript/Hello World/Hello World.js" );
}
from native import app

def OnStart():
    app.StartApp( "/sdcard/DroidScript/Hello World/Hello World.js" )
    Copy     Copy All       Run      
String: path to file ( “/absolute/...” or “relative/...” )
String: comma “,” separated: “Portrait” or “Landscape”, “Transparent”, Debug, Game or “remote”
String: “{ action, type, data, extras }”