require "android"
android.dialogCreateAlert("I like swords.","Do you like swords?")
android.dialogSetPositiveButtonText("Yes")
android.dialogSetNegativeButtonText("No")
android.dialogShow()
response=android.dialogGetResponse().result
android.dialogDismiss()
Began life as a copy of #552
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
3 comment(s) hidden. show
| Snippet ID: | #553 |
| Snippet name: | Android Lua Dialog Test |
| Eternal ID of this version: | #553/1 |
| Text MD5: | 3047266a329ec7d353f702d920dfac8d |
| Author: | stefan |
| Category: | |
| Type: | Lua code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-03-27 20:26:18 |
| Source code size: | 268 bytes / 8 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 2137 / 328 |
| Referenced in: | -