Sometimes so many developers want to see code of any app that downloaded
from net. So must have .apk file for this purpose.
This method of decoding .apk file hase more than on step all
are as below…
Step : 1
Make a new folder name CODE and put
.apk file (which you want to decode) now rename this .apk file with extension
.zip (eg : file.apk à file.zip) and save it.
Now you get classes.dex files etc...at this stage you are able to see drawable
directory items but not xml and java file.
Step: 2
Now extract this zip apk file in
the same folder(CODE Folder). now download dex2jar-0.0.9.9 from this link http://code.google.com/p/dex2jar/downloads/list
and extract it to the same folder (CODE
Folder). Now open command prompt and reach to that folder dex2jar-0.0.9.9 after reaching write " d2j-dex2jar classes.dex"
and press enter …now you get classes-dex2jar file in the same folder
Step: 3
Now download java decompiler from http://java.decompiler.free.fr/?q=jdgui
and now double click on jd-gui and click on open file then open classes-dex2jar
file from that folder. Here You will get the all .java source code.
Note : Before sometime google provide dex2jar but now it updated as dex2jar-0.0.9.9.