Monday 17 February 2014

Android Application Structure

The package explorer is in the left side of the Eclipse IDE
It contains Projects and its associated files
The first one is src folder
1 - src : this folder contains the packages and the java classes used in the application, we can include more than 1 packages and java classes to the src folder
2 - gen : this folder is automated generated java files it contains the all id of the declared variables and objects
3 - Next is the build version of the application and associated private libraries and user defined libraries
4 - bin : This folder contains the output files of the project Eg dex files,resource files, Apk files
5 -  libs : this folder contains the library files used in the project
6 - res : this folder contains the layout file which means the user interface design and the resources like pictures and music and other files
6.1 - drawables this is the media files and other files used in the application and the images are loaded in their preferred folder
  for lower density devices the low dimension image must included in drawable-ldpi folder
  for medium density devices the medium dimension images must included in drawable-mdpi folder
  for high density devices the high dimension images must included in drawable-hdpi folder
  for xlarge density devices the xhdpi dimension images must included in drawable-xhdpi folder
6.2 - layouts : this folder contains the UI design files and the other layout files.
6.3 - menu : this folder contains the menu  XML files used to control the menus used in the application.
6.4 - values : this contains the XML files used to store the string values used in the application
7 - Manifest.xml - this file is the main file of the application the file contains the application permissions and activity registrations and services

Now you can create an application Thank you....... :-)
If you have any doubts please mail to me ribindasmayilpeeli@gmail.com please include subject to from blog

No comments:

Post a Comment