dialogCreateAlert

Data de postagem: 06/06/2012 23:24:36

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);