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

15
LINES

< > BotCompany Repo | #1005417 // Try to run code on PC from within Android phone [works]

JavaX source code (Android) [tags: use-pretranspiled] - run with: the app

Libraryless. Click here for Pure Java version (2712L/18K/59K).

1  
!752
2  
3  
p {
4  
  L<S> ips = cast safeUnstructure(sendToLocalBot("Awareness", "who are you pinging"));
5  
  printStructure(ips);
6  
  if (empty(ips)) {
7  
    print("No PCs known");
8  
    ret;
9  
  }
10  
  S ip = first(ips);
11  
  print("Trying PC " + ip);
12  
  print("Calling...");
13  
  S code = "1+1";
14  
  printStructure(quickPCEval(ip, code));
15  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005417
Snippet name: Try to run code on PC from within Android phone [works]
Eternal ID of this version: #1005417/1
Text MD5: ed2cf688fb558e82fd815f7d99c4c4bc
Transpilation MD5: 16d52f0aaf6cfa818fe5342aa6a4fac5
Author: stefan
Category: javax / super cool stuff!
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-15 15:54:19
Source code size: 326 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 453
Referenced in: [show references]