dialogCreateAlert

postado em 6 de jun de 2012 16:24 por Silvio Garbes   [ 26 de jun de 2012 17:34 atualizado‎(s)‎ ]
dialogCreateAlert(
 
String title[optional],
 
String message[optional])

Create alert dialog.

Exemplo

<?php
require_once("Android.php");
$droid = new Android();
$droid->dialogCreateAlert();
$droid->dialogSetItems(range(0, 9));
$droid->dialogShow();
?>

---


$droid->dialogCreateAlert("Titulo","Pergunta?");
$droid->dialogSetPositiveButtonText("Positive");
$droid->dialogSetNegativeButtonText("Negative");
$droid->dialogSetNeutralButtonText("Neutral");
$droid->dialogShow();
$result = $droid->dialogGetResponse();
print_r($result);


Comments