SlideShare a Scribd company logo
3
Most read
5
Most read
10
Most read
ANATOMY OF
ANDROID
APPLICATION
Presented by-Mrs Pooja Chouhan
• The various files that make up an android project in the
Package Explorer in Eclipse .Like src , gen, android 6.0
,libraries ,assets,bin,res ,android manifest.
Src. • Contains the .java source files for your project.
• You write the code for your application in this file
• The java file listed under the package name for your
project
• In this case MainActivity.java in
com.example,helloworld package
Gen
• Contains the R.java file.
• A compilerGenerated file that reference all the resources found
in your project
• You should not modify this file
• All the resources in your project are automatically compiled into
this class so that you can refer to them using the class
• Additionally you gain compile-time safety that the resource you
want to use really exisits.
Android 6.0
libraries and
appcompat_v7
• Android 6.0 contains one file-android.jar.
• Which contains all the class libraries needed for an
android application
• The appcompat project is a library to support android's
older versions.The support library was introduced by
Google recently.
Assets • The assets folder is empty by default
• This folder is used to store raw asset files.A raw asset
file could be one of many assets you may need for the
application to work
• Such as HTML text files database ,audio file etc.
• Android hasAsset Manager which can return all the
assets currently in the assets directory
bin • This folder contains the files built by the ADTduring the buil
process.
• In particular it generates the .Apk file(Android package).
• .apk file is the application binary of and android application
• It contains everything needed to run an android application
• .dex file is also stored in this folder
res • This folder contains all the resources required like
images, layouts and values
• Resources are external files(non-code files) that are
used by your code and compiled into your application
at build time
• Android Supports a number of different kinds of
resources files, including XML,PNG and JPEG files.The
XML files have very different formats depending on
what they describe.
• Rescource-types and where to place them:
layout-files ————> “/res/layout/”
Images —————->”/res/drawable”
animations————->”res/anim/”
styles, strings and arrays —> “/res/values/”
Android
Manifest.xml
• This is the manifest file for your application.
• It is located in the root folder of the application, and
describes global values for your package
• Here you specifies permissions as well as other feature.
• An important thing to mention of this file are its so
called IntentFilters.These filters describe where and
when that activity can be started. Besides declaring
your application’sActivities, Content Providers,
Services and Intent Receivers
Thanks

More Related Content

PPTX
Backend Programming
PPTX
Android Project Presentation
PPTX
Server side rendering review
PPT
PPT
Mobile application development
PPT
ASP.NET MVC Presentation
PPTX
JSON: The Basics
PPTX
Backend Programming
Android Project Presentation
Server side rendering review
Mobile application development
ASP.NET MVC Presentation
JSON: The Basics

What's hot (20)

PPTX
PDF
An Introduction to Software Architecture
PPT
PPT
Eclipse IDE
PPTX
Spring Framework
PPT
Introduction to Android
PDF
Android Security
PDF
Introduction to React Native
PPTX
Flutter presentation.pptx
PPTX
Mobile Application Development Services-MobileApptelligence
PDF
Nodejs presentation
PPT
Android Architecture
PPTX
An Introduction To REST API
PDF
React Server Side Rendering with Next.js
PPTX
Intro to software development
PDF
Basic Java Programming
PPTX
Asp.Net Core MVC with Entity Framework
PDF
Android notification
PPTX
.Net Core
PPTX
ReactJS presentation.pptx
An Introduction to Software Architecture
Eclipse IDE
Spring Framework
Introduction to Android
Android Security
Introduction to React Native
Flutter presentation.pptx
Mobile Application Development Services-MobileApptelligence
Nodejs presentation
Android Architecture
An Introduction To REST API
React Server Side Rendering with Next.js
Intro to software development
Basic Java Programming
Asp.Net Core MVC with Entity Framework
Android notification
.Net Core
ReactJS presentation.pptx
Ad

Similar to Anatomy of android aplication (20)

PPT
Android application structure
PPTX
Android structure
PPTX
Anatomy Of An Adroid Application Lecture 3.pptx
PPT
Unit 2 in environment science and technology
PDF
Android Development
PPTX
Android deep dive
PPTX
Android
PPTX
Android Basic
PPTX
this is PPT for mobail application development
PPT
Android project architecture
PDF
Android application development
PPTX
Android session-1-sajib
PPTX
Introduction & App Structure
PPT
Android application development for TresmaxAsia
PPTX
Android Studio development model and.pptx
DOCX
Android Tutorial For Beginners Part-1
PDF
Android Bootcamp
PPT
Android activity, service, and broadcast recievers
PPTX
Android Application Fundamentals
PPTX
Introduction to Android Development
Android application structure
Android structure
Anatomy Of An Adroid Application Lecture 3.pptx
Unit 2 in environment science and technology
Android Development
Android deep dive
Android
Android Basic
this is PPT for mobail application development
Android project architecture
Android application development
Android session-1-sajib
Introduction & App Structure
Android application development for TresmaxAsia
Android Studio development model and.pptx
Android Tutorial For Beginners Part-1
Android Bootcamp
Android activity, service, and broadcast recievers
Android Application Fundamentals
Introduction to Android Development
Ad

More from poojapainter (9)

PPTX
Android the new Mobile Technoogy
PPT
Android layouts
PPTX
Overview of c
PPTX
Android architecture
PPTX
Android the new Mobile Technoogy
PPTX
Introduction to compiler interpreter
PPT
Applets
PPTX
Android the new Technology for mobile
PPTX
Green i t
Android the new Mobile Technoogy
Android layouts
Overview of c
Android architecture
Android the new Mobile Technoogy
Introduction to compiler interpreter
Applets
Android the new Technology for mobile
Green i t

Anatomy of android aplication

  • 2. • The various files that make up an android project in the Package Explorer in Eclipse .Like src , gen, android 6.0 ,libraries ,assets,bin,res ,android manifest.
  • 3. Src. • Contains the .java source files for your project. • You write the code for your application in this file • The java file listed under the package name for your project • In this case MainActivity.java in com.example,helloworld package
  • 4. Gen • Contains the R.java file. • A compilerGenerated file that reference all the resources found in your project • You should not modify this file • All the resources in your project are automatically compiled into this class so that you can refer to them using the class • Additionally you gain compile-time safety that the resource you want to use really exisits.
  • 5. Android 6.0 libraries and appcompat_v7 • Android 6.0 contains one file-android.jar. • Which contains all the class libraries needed for an android application • The appcompat project is a library to support android's older versions.The support library was introduced by Google recently.
  • 6. Assets • The assets folder is empty by default • This folder is used to store raw asset files.A raw asset file could be one of many assets you may need for the application to work • Such as HTML text files database ,audio file etc. • Android hasAsset Manager which can return all the assets currently in the assets directory
  • 7. bin • This folder contains the files built by the ADTduring the buil process. • In particular it generates the .Apk file(Android package). • .apk file is the application binary of and android application • It contains everything needed to run an android application • .dex file is also stored in this folder
  • 8. res • This folder contains all the resources required like images, layouts and values • Resources are external files(non-code files) that are used by your code and compiled into your application at build time • Android Supports a number of different kinds of resources files, including XML,PNG and JPEG files.The XML files have very different formats depending on what they describe. • Rescource-types and where to place them: layout-files ————> “/res/layout/” Images —————->”/res/drawable” animations————->”res/anim/” styles, strings and arrays —> “/res/values/”
  • 9. Android Manifest.xml • This is the manifest file for your application. • It is located in the root folder of the application, and describes global values for your package • Here you specifies permissions as well as other feature. • An important thing to mention of this file are its so called IntentFilters.These filters describe where and when that activity can be started. Besides declaring your application’sActivities, Content Providers, Services and Intent Receivers