Hello everybody again!!
I think that’s a good way to continue with my android tutorials in this post I want to explain the structure of an Android application.
When we Create a new Android project with Eclipse, the program generated the next structure:
Now we will describe all the folders:
This folder contains all the source code of the application interface code
graph, helper classes, etc..
This folder contains all files necessary for the project:
images, videos, text strings. Different types of resources
should be distributed among the following folders:
■ / res / drawable /.
Contains images of the application. Depending on the resolution of the device can be divided into:
■ / res / layout /.
Contains the files defining the various interface screens
graph. Depending on the orientation of the device can be divided into:
■ / res / anim /.
contains the definition of the animations used by the application.
■ / res / menu /.
contains defining the application menus.
■ / res / values /.
contains other application resources such as text strings (strings.xml), styles (styles.xml), colors (colors.xml, etc.).
■ / res / xml /.
contains XML files used by the application.
■ / res / raw /.
contains additional resources, usually in a different format to XML, not included
in other toolkits.
Contains a series of code elements automatically generated when we
compile the project.
Contain all the others auxiliary files for the application. For example:
- Configuration files.
- Data files.
Contains important data about the application for example:
- Identification (name,version, icon,…).
- Components (screens, messages,…..).
I hope my little description about the structure of an Android project have helped someone.
We see soon again!!