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

!636
!modern

main {
  static O androidContext;
  static S programID;
  static long seconds;

  psvm {
    while (true) {
      ++seconds;
      print(seconds);
    if (androidContext != null)
      updateWidgetWithText("" + seconds);
  }
}

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: 548 / 469
Referenced in: [show references]