Shows a text input dialog with a title to allow the user to input some text.
Example - Input Name
function OnStart()
{
app.ShowTextDialog( "Type your Name:", "", OnInputName );
}
function OnInputName( name )
{
app.ShowPopup( "Your name is " + name );
}
from native import app
def OnStart():
app.ShowTextDialog("Type your Name:", "", OnInputName)
def OnInputName(name):
app.ShowPopup("Your name is " + name)