Back

GetAppPath

Returns the path to the app folder.

  app.GetAppPath() → string: path to file or folder ( "/absolute/..." or "relative/..." )

If it's a DroidScript project the path should be "/sdcard/DroidScript/appname" - otherwise it is "/Assets"

Example - Example



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