Back

GetName

JS Py
Hello World

Returns the name of the APK application.

app.GetName() → String

meaning if your app runs in DroidScript, the name will be “DroidScript” as well.

Example - Get app Name

function OnStart()
{
    name = app.GetName();
    app.Alert( name );
}
from native import app

def OnStart():
    name = app.GetName()
    app.Alert(name)
    Copy     Copy All       Run