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

18
LINES

< > BotCompany Repo | #1004116 // Try making a .dex locally & uploading it to phone! [Start #1004078 on phone first]

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

Libraryless. Click here for Pure Java version (2272L/16K/52K).

1  
!752
2  
3  
p {
4  
  S src = [[
5  
    p {
6  
      assertNotNull("Got android context", androidContext());
7  
      print("Saying stuff...");
8  
      androidSayInGerman("Was geht ab Mann yo");
9  
      androidSayInEnglish("I also speak english!");
10  
      print("Done!");
11  
    }
12  
  ]];
13  
  
14  
  File dexFile = prepareProgramFile("test.dex");
15  
  javaxToDex(src, dexFile);
16  
  
17  
  sendToPhoneBot("Dex Bot", "please load and run this dex: *", bytesToHex(loadBinaryFile(dexFile)));
18  
}

Author comment

Began life as a copy of #1004109

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004116
Snippet name: Try making a .dex locally & uploading it to phone! [Start #1004078 on phone first]
Eternal ID of this version: #1004116/1
Text MD5: 74edacd962c4cf3354d7806780a765b2
Transpilation MD5: 7aa6879ac2e259c7a6d51a9b5d84cce3
Author: stefan
Category: javax / super cool stuff!
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-07 19:14:33
Source code size: 464 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 494
Referenced in: [show references]