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
ID | Author/Program | Comment | Date | |
---|---|---|---|---|
577 | #1000610 | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { 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() }} | 2015-08-18 20:58:34 | delete |
573 | #1000604 (pitcher) | 2015-08-18 00:07:22 | ||
50 | stefan | Works :)) | 2015-03-27 20:28:57 |
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: | 1215 / 206 |
Referenced in: | [show references] |