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

15
LINES

< > BotCompany Repo | #1000575 // Print on widget or console

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Transpiled version (105L) is out of date.

!636
!standard functions

main {
  static Object androidContext;
  
  psvm {
    String it = "bla"; // example input
    System.out.println(it);
    if (androidContext != null) {
      call(androidContext, "updateWidgetWithText", it);
      print "Widget updated."
    }
  }
}

download  show line numbers  debug dex  old transpilations   

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

Comments [hide]

ID Author/Program Comment Date
211 #1000604 (pitcher) 2015-08-18 00:51:14
193 #1000610 (pitcher) 2015-08-18 00:50:33

add comment

Snippet ID: #1000575
Snippet name: Print on widget or console
Eternal ID of this version: #1000575/1
Text MD5: a10fd2993fe886a984035d79f32f106a
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-14 23:25:41
Source code size: 290 bytes / 15 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 772 / 757
Referenced in: #3000189 - Answer for stefanreich(>> t bla)
#3000382 - Answer for ferdie (>> t = 1, f = 0)