Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1000701 // Second counter

JavaX source code (Android) - run with: the app

1  
!636
2  
!modern
3  
4  
main {
5  
  static O androidContext;
6  
  static S programID;
7  
  static long seconds;
8  
9  
  psvm {
10  
    while (true) {
11  
      ++seconds;
12  
      print(seconds);
13  
    if (androidContext != null)
14  
      updateWidgetWithText("" + seconds);
15  
  }
16  
}

Author comment

Began life as a copy of #1000655

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000701
Snippet name: Second counter
Eternal ID of this version: #1000701/1
Text MD5: 7635357207813ae01dd7204129c80787
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:08:05
Source code size: 255 bytes / 16 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 551 / 473
Referenced in: [show references]