An APK file is just a zip file of the Android application package, which includes some XML files, various resources (e.g. images for buttons/icons etc.) and the compiled Dalvik VM executable image, classes.dex. The file format for this is documented here:
An APK file is just a zip file of the Android application package, which includes some XML files, various resources (e.g. images for buttons/icons etc.) and the compiled Dalvik VM executable image, classes.dex. The file format for this is documented here:
Thanks Daniel and Gerro, but i am thinking if this is a zip file, could we import it into eclipse to decompile to view source code, is eclipse support decompilation of such files.
You can also use tools like Soot and Wala, which will transform Dex byte code into an intermediate representation that is Java-like. Soot can than emit Java.
Eclipse can't decompile the apk file to source code,you can unzip the apk file to a folder,try the tools Daniel and Gerro recommended then use eclipse open the file to see the source code(if the project hasn't been encrypted).