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).

!752

p {
  S src = [[
    p {
      assertNotNull("Got android context", androidContext());
      print("Saying stuff...");
      androidSayInGerman("Was geht ab Mann yo");
      androidSayInEnglish("I also speak english!");
      print("Done!");
    }
  ]];
  
  File dexFile = prepareProgramFile("test.dex");
  javaxToDex(src, dexFile);
  
  sendToPhoneBot("Dex Bot", "please load and run this dex: *", bytesToHex(loadBinaryFile(dexFile)));
}

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