Android applications are packed in a file with the .apk
extension. These files are just compressed ZIP files, so their content can easily be explored. An APK file usually contains the following:
assets/
: This is a folder that contains the asset files of the application. This is the sameassets
folder that exists in our project.lib/
: This is a folder that contains compiled code, in case it is needed for a processor.res/
: This is a folder that contains the application resources such as images, strings, and so on.classes.dex
: This is a file that contains the application's compiled code.resources.arsc
: This is a file that contains some precompiled resources, such as binary XML files.
Having the APK file allows the application to be distributed and installed on the Android operating system. Android applications can be distributed as you prefer: through...