User talk:Developerscentral

Taken from http://developerscentral.net/2011/android-application-structure/

Android Application Structure

An Android Application consists of these basic structure or you could say these are the Building Block of an android application.

. AndroidManifest.xml—This is the Main configuration file for every android application.

. default.properties—A generated build file used by Eclipse and the Android ADT plug-in.

. /src folder—Required folder for all source code.

. /src/com.androidbook.droid1/DroidActivity.java—Main entry point to this application, named DroidActivity. This activity has been defined as the default launch activity in the Android manifest file.

. /gen/com.androidbook.droid1/R.java—A generated resource management source file. Do not edit this file.

. /assets folder—Required folder where uncompiled file resources can be included in the project.

. /res folder—Required folder where all application resources are managed. Application resources include animations, drawable graphics, layout files, data-like strings and numbers, and raw files. FIGURE 1.2 The Android Project Wizard in Eclipse. Familiarizing Yourself with Eclipse 13

. /res/drawable—Application icon graphic resources are included in several different sizes.

. /res/layout/main.xml—Layout file used by DroidActivity to draw onscreen.

. /res/values/strings.xml—The path where string resources are defined.