How to get Activity of android app

If you don't have the code, you can decompile the app.

Two tools will be used here, dex2jar and jd-gui. You can download the latest version so far along with the sample apk here.

Let's take the toolkit ContactManager.apkas an example to briefly introduce the decompilation process.

  • 1. Rename ContactManager.apk to ContactManager.zip and extract the file classes.dex;
  • 2. Unzip dex2jar-0.0.9.15.zip, and enter the folder from the command line;
  • 3. Run the command  d2j-dex2jar.bat path_to\classes.dex to get it in the current folder classes-dex2jar.jar;
  • 4. Unzip jd-gui-0.3.6.windows.zip to get the file jd-gui.exe;
  • 5. Use jd-gui.exe to open classes-dex2jar.jar;

Well, well, you can enjoy it. Above.

jd-gui effect

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326680927&siteId=291194637
Recommended