This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
GetBuildNum
JS
Py
Hello World
GetBuildNum returns the build number of an APK.
app.GetBuildNum() →
Number:
integer
Example - Show build number
click to expand contents
function
OnStart
(
)
{
var
num
=
app
.
GetBuildNum
(
)
;
app
.
Alert
(
num
)
;
}
from
native
import
app
def
OnStart
(
)
:
num
=
app
.
GetBuildNum
(
)
app
.
Alert
(
num
)
Copy
Copy All
Run
loading