Back
GetAppName
JS
Py
Hello World
Returns the name of the current app.
app.GetAppName() →
String
Example - Show app name
function
OnStart
(
)
{
var
name
=
app
.
GetAppName
(
)
;
app
.
Alert
(
name
)
;
}
from
native
import
app
def
OnStart
(
)
:
name
=
app
.
GetAppName
(
)
app
.
Alert
(
name
)
Copy
Copy All
Run