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

15
LINES

< > BotCompany Repo | #1005210 // Android: Try to find boot-up class & print log view from loaded code

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

Libraryless. Click here for Pure Java version (486L/4K/12K).

!752

import android.widget.*;
import android.view.*;

p {
  Class javax = getJavaX();
  //Class bootUp = javax.getClassLoader().getParent().loadClass("main");
  Class bootUp = cast get(javax, "bootUpClass");
  print("bootUp class: " + bootUp);
  O lg = get(bootUp, "lg");
  print("Lg : " + lg);
  ScrollView sv = cast get(lg, "sv");
  print("ScrollView: " + sv);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005210
Snippet name: Android: Try to find boot-up class & print log view from loaded code
Eternal ID of this version: #1005210/1
Text MD5: 4120f606c698b9d2406a5145785e2f2c
Transpilation MD5: 3ea60a529d461d839741ce2709960b74
Author: stefan
Category: javax / android
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-22 17:57:11
Source code size: 379 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 604 / 644
Referenced in: #1005211 - androidPrintLogScrollView - always reuses the same view object