Back

IsAPK

JS Py
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:" );
}
from native import app

def OnStart():
    isAPK = app.IsAPK()
    app.Alert(isAPK, "is APK:")
    Copy     Copy All       Run