Libraryless. Click here for Pure Java version (2095L/15K/48K).
!636 !modern main { static O androidContext; static S programID; static long seconds; psvm { while (true) { ++seconds; print(seconds); if (androidContext != null) updateWidgetWithText("" + seconds); Thread. sleep(1000); // rough sleeping :)) } } }
Began life as a copy of #1000701
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hxnwyiuffukg, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, mrjhfnjfopze, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #743 |
| Snippet name: | Second counter (on widget) |
| Eternal ID of this version: | #743/1 |
| Text MD5: | c8608620f51de8f095f2265c82486aa4 |
| Transpilation MD5: | ccf56a61b27fdb497d0e4961e45ed587 |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code (Android) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-08-23 02:11:46 |
| Source code size: | 312 bytes / 18 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 784 / 868 |
| Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |