8 Jan 2016

Android Directory Structure

Within an Android project structure, the most frequently edited folders are:
  • src - Java source files associated with your project. This includes the Activity "controller" files as well as your models and helpers.
  • res - Resource files associated with your project. All graphics, strings, layouts, and other resource files are stored in the resource file hierarchy under the res directory.
  • res/layout - XML layout files that describe the views and layouts for each activity and for partial views such as list items.
  • res/values - XML files which store various attribute values. These include strings.xml, dimens.xml, styles.xml, colors.xml, themes.xml, and so on.
  • res/drawable - Here we store the various density-independent graphic assets used in our application.
  • res/mipmap-xhdpi - Series of folders for density specific images to use for various resolutions.
The most frequently edited files are:

  • AndroidManifest.xml - This is the Android application definition file. It contains information about the Android application such as minimum Android version, permission to access Android device capabilities such as internet access permission, ability to use phone permission, etc.
  • res/layout/activity_main.xml - This file describes the layout of the activity's UI. This means the placement of every view object on one app screen.
  • src/.../MainActivity.java - The Activity "controller" that constructs the activity using the view, and handles all event handling and view logic for one app screen.
Other less edited folders include:
  • gen - Generated Java code files, this library is for Android internal use only.
  • assets - Uncompiled source files associated with your project; Rarely used.
  • bin - Resulting application package files associated with your project once it’s been built.
  • libs - Contains any secondary libraries (jars) you might want to link to your app.

3 comments:

  1. Within my bedroom, My spouse and i set some paintbrush for the reason that I will be the painter, my personal favorite e book, the most popular food items, graphics for his dad and also my best your pets, the best ALBUM including a cookbook. http://ntb78pb5rw.dip.jp https://imgur.com/a/UWvTbNg https://imgur.com/a/dDfPbrN https://imgur.com/a/7LI3Dq3 https://imgur.com/a/uFjBh4N https://imgur.com/a/4yIW7kN https://imgur.com/a/HIuTJIr

    ReplyDelete
  2. One of the knowledge stuffed blogs i've ever seen. It helps revamp existing technology and architecture, using constantly evolving strategies to drive improved market performance. reffer the given blog for more info Application Modernization Services or
    reach +18882075969 for more information

    ReplyDelete