Transpiled version (213L) is out of date.
1 | !747 |
2 | |
3 | m { |
4 | static Activity androidContext; |
5 | static L<S> smileys = litlist("#1001283", "#1001284", "#1001285", "#1001286", "#1001287"); |
6 | |
7 | static int minDelayDS = 5, maxDelayDS = 25; // deciseconds |
8 | |
9 | p { |
10 | while (true) { |
11 | new Random random; |
12 | int i = random.nextInt(smileys.size()); |
13 | androidShowFullScreenImage(smileys.get(i), 0xFFFFFFFF); // white |
14 | sleep((random.nextInt(maxDelayDS-minDelayDS+1)+minDelayDS)*100); |
15 | } |
16 | } |
17 | } |
Began life as a copy of #1001288
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, ufhdzwgrioxs, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001289 |
Snippet name: | Android: Random Smiley Animation |
Eternal ID of this version: | #1001289/1 |
Text MD5: | 9fab05cde90f70bfe6cf38cc5b6ca484 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Android) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-06 19:45:06 |
Source code size: | 469 bytes / 17 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 611 / 645 |
Referenced in: | [show references] |