getInput

Data de postagem: 06/06/2012 23:27:40

getInput(

String title[optional, default SL4A Input]: title of the input box,

String message[optional, default Please enter value:]: message to display

above the input box)

Queries the user for a text input.

Deprecated in r3! Please use dialogGetInput instead.

Exemplo

<?php

require_once("Android.php");

$droid = new Android();

$name = $droid->getInput("Hi!", "What is your name?");

$droid->makeToast('Hello, ' . $name['result']);

?>