Back

IsAPK

Hello World

Returns whether current app is an APK or not (case not it's a DroidScript Project).

app.IsAPK() → boolean

Example - Check APK

function OnStart()
{
    var isAPK = app.IsAPK();
    app.Alert( isAPK, "is APK:" );
}
    Copy     Copy All       Run