Extracting Java class from .apk files in Android
Extracting Java class from .apk files is a few step work as follows: Need : dex2jar and Java Decompiler Step: 1- Extract .apk(HelloAndroid.apk) file and got the folder (HelloAAndroid). In this folder there is a "classes.dex" 2- Get the tool dex2jar - A tool for converting Android's .dex format to Java's .class format. 3- Extract that there is bat file named as "dex2jar". 4- Open the command prompt(for windows). Goto the extracted dex2jar folder and do this > dex2jar.bat <classes.dex> Like this: > dex2jar.bat "C:\Documents and Settings\subrat_m\My Documents\HelloAndroid\classes.dex" This is done with a "Done" message. 5- Then there is Executable jar file is created as " classes_dex2jar " . Just extract this file and you can find all the " .class " files. 6- Use any Java Decompiler to convert the .class files into .java files. Happy coding ....