Libraryless. Click here for Pure Java version (1949L/13K/44K).
1 | !752 |
2 | |
3 | p {
|
4 | new Android3 a; |
5 | a.startPort = 4989; |
6 | a.useMultiPort = false; // We want the real port! |
7 | makeBot(a); |
8 | print("Ports: " + a.port + " / " + a.startPort);
|
9 | if (a.port != a.startPort) {
|
10 | a.dispose(); |
11 | fail("Could not allocate port " + a.startPort);
|
12 | } |
13 | } |
14 | |
15 | answer {
|
16 | if "windows key pressed" |
17 | print("Windows key!");
|
18 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003538 |
| Snippet name: | React to Windows key (Linux) |
| Eternal ID of this version: | #1003538/1 |
| Text MD5: | 9672c8fbe6bef7a41a65e445861124b4 |
| Transpilation MD5: | be3e003ff00dc49d29e074fd32ebadb1 |
| Author: | stefan |
| Category: | javax / talking robots |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-07-17 17:28:59 |
| Source code size: | 357 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 747 / 872 |
| Referenced in: | [show references] |