Back

GetAppPath

GetAppPath returns the path to the app folder. If it's a DroidScript project the path should be "/sdcard/DroidScript/appname" - otherwise it is "/Assets"

app.GetAppPath() -> string - path to file or folder ( "/absolute/..." or "relative/..." )

Example - Example



function OnStart()
{
    path = app.GetAppPath();
    app.ShowPopup( path );
}
    Copy     Copy All       Run