This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
GetDeviceId
JS
Py
Hello World
Returns the alphanumeric ID of the device which is different for each device.
app.GetDeviceId() →
String
Example - Show Devide ID
click to expand contents
function
OnStart
(
)
{
var
id
=
app
.
GetDeviceId
(
)
;
app
.
Alert
(
id
)
;
}
def
OnStart
(
)
:
id
=
app
.
GetDeviceId
(
)
app
.
Alert
(
id
)
Copy
Copy All
Run
loading