android apk resource
Recently I watch a video about android app framework.(google I/O 2008)
In the video, the host says that an apk is a collection of component. My question is, when I'm installing an apk,开发者_JAVA技巧 which directory(/data??) will the resource(such as class.dex and other resources file) be stored?The .apk files themselves are stored in /data/app, while the .dex files in /data/dalvik-cache
Addition: App data is stored in /data/data/[PAKAGE_NAME]
If you are curious about what's a .apk file: it's just a regular zip file!
As such, you can open it with 7-zip or winrar and look inside. You will find:
META-INFfolder: that's the signature of the packageresfolder: where you will find some.xmland all the.pngfiles (and possibly.mp3or whatever the package uses). Note that those.xmlfiles will be already compiled, not human-readable.AndroidManifest.xml:as the name implies, the manifest.classes.dexfile: all the java classes compiled to byte coderesources.arscfile: the layout.xmlfiles
加载中,请稍侯......
精彩评论