Have you ever wonder what an Android *.APK file consists of, its simply a zip file which consists of the xml files & images of the App with Encryped classes that can be read by Android Devices.
So how do you read it???
Simple follow the following
Let's say you have Sample.APK
Rename it to Sample.zip
ignore the warning while renaming.
If u dont know how to rename please follow the follow steps...
1. press Alt+F
2. Select Tools ----> Folder Options
3. Under "View" tab Uncheck the highlighted option in the below image.
4. Apply.
Now Rename the Sample.apk to Sample.zip
Download the following
1. Download dex2jar - Tools to work with android .dex and java .class files 2. Download Java Decompiler JD-GUI for Newbie. If you are good in using Eclipse you can use JD-Eclipse Plugin and install in Your Eclipse. 3. Winrar or any other Compressing Software to Decompress/Unzip the Package.
If you Had Come Here from StackOverflow plz "+1" my Answer, only if you think my Hardwork Deservez --> http://stackoverflow.com/a/10431184/1008278
Unzip the first 2 downloaded files & Sample.zip You will find a file name "classes.dex" in Sample.zip Copy "classes.dex" to Unzipped "Dex2jar" folder Open Command Prompt and navigate to "Dex2jar" folder (See example below) run the below command dex2jar.bat classes.dex |
in Dex2jar folder you will find new jar file name "classes_dex2jar.jar"
Unzip "classes_dex2jar.jar" using winrar you will find all the class files.
Open JavaDecompiler.exe Open class & view the code :)
Open JavaDecompiler.exe Open class & view the code :)
If you Had Come Here from StackOverflow plz "+1" my Answer, only if you think my Hardwork Deservez --> http://stackoverflow.com/a/10431184/1008278
Also Check Creating MD5 Key for Android
Found this useful "Share it"