QSL4A Documentation of
dialogGetPassword <QSL4A API Menu>dialogGetPassword(title="Password", message="Please enter password:", messageIsHtml = False)
Queries the user for a password.
title (String) title of the password box (default=Password)
message (String) message to display above the input box (default=Please enter password:)
messageIsHtml (Boolean) indicates message is Html or Plain Text
The result is the user's input, or None if cancel was hit.
Example :
from androidhelper import Android
droid = Android()
print(droid.dialogGetPassword("Secret Title","Enter Password").result)
print(droid.dialogGetPassword("Title Secret","<font color=#00ffff>Enter</font> <font color=red>Password</font>",True).result)