Isn't there an official format specification of .apk?
-
I have seen some applications that reverse .apk files into elementary files. I would like to know where can I find the official specification of .apk files, but I reached nowhere! Could someone enlighten us about where to look, and what are the best resources about the specification if there is not a formal specification?
-
Answer:
I don't know if there's an official specification, but from browsing my app's file structure, I have deduced the following: -The .apk is simply a zip file and can be opened as such in any suitable application (7zip, WinZip, WinRAR, any OS's default .zip tool). -It must contain an AndroidManifest.xml file in the root directory (though this is a compiled .xml file and not human-readable). -It must contain a classes.dex file containing the actual binary code compiled as Dalvik bytecode. -It must contain a resources.arsc file. I believe it's an index of everything in the /res folder, but I'm not positive. -It must contain a META-INF folder in the root containing CERT.RSA, CERT.SF, and MANIFEST.MF. These are the app's digital signature files. -The app may contain the folders /assets, /res, and /raw that contain resource files like images and databases. -The app may contain a /lib folder that contains folders for all the native code targets (like armeabi), which contain .so files (native code). I probably missed a ton of things, but this should give you a good start.
AraK at Stack Overflow Visit the source
Related Q & A:
- Why Isn't Montgomery Modular Exponentiation Considered For Use In Quantum Factoring?Best solution by cstheory.stackexchange.com
- Why isn't the text displayed in my Yahoo IM chat window?Best solution by in.answers.yahoo.com
- My mic Isn't working In yahoo chat?Best solution by Yahoo! Answers
- Why isn't my Yahoo my home page?Best solution by Yahoo! Answers
- Why isn't Yahoo letting me sign in?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.