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

17
LINES

< > BotCompany Repo | #1004095 // Test talking to Android JavaX VM from PC

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

Libraryless. Click here for Pure Java version (1502L/10K/34K).

!752

p {
  // OK, doesn't work, understandably
  // [gives java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory]]
  // sendToPhoneVM("what is your pid");
  
  // This should work, right? (And it does!)
  sendToPhoneVM("get injections");
  
  sendToPhoneVM("how much memory is used?");
  sendToPhoneVM("how much memory are you consuming");
  sendToPhoneVM("how much memory is used after GC?");
  sendToPhoneVM("how much memory are you consuming");
  
  print(detectGateways_cache.stats());
}

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: #1004095
Snippet name: Test talking to Android JavaX VM from PC
Eternal ID of this version: #1004095/1
Text MD5: 76bfcf8ef1f4cf69e97792081f977d66
Transpilation MD5: 038ad6be83ec5f7c042d2f60a6f93adb
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-07 15:05:50
Source code size: 525 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 517 / 622
Referenced in: #1004099 - Test Making Android Phone Talk From PC - WORKS!! [Run #1004078 on phone first]