This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
HasSoftNav
JS
Py
Hello World
Checks if the device has a soft navigation bar on the screen.
app.HasSoftNav() →
Boolean
Example - Check Softkeys
click to expand contents
function
OnStart
(
)
{
var
hasSoftNav
=
app
.
HasSoftNav
(
)
;
app
.
Alert
(
hasSoftNav
,
"Has Soft Keys:"
)
;
}
from
native
import
app
def
OnStart
(
)
:
hasSoftNav
=
app
.
HasSoftNav
(
)
app
.
Alert
(
hasSoftNav
,
"Has Soft Keys:"
)
Copy
Copy All
Run
loading