SlideShare a Scribd company logo
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

What's hot

Android Handheld Systems
Android Handheld SystemsAndroid Handheld Systems
Android Handheld Systems
Vyakhya Shrivastava
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
Purvik Rana
 
Talk on .NET assemblies
Talk on .NET assembliesTalk on .NET assemblies
Talk on .NET assembliesVidya Agarwal
 
Android architecture
Android architectureAndroid architecture
Android architecture
Saurabh Kukreja
 
Presentation for Android OS
Presentation for Android OSPresentation for Android OS
Presentation for Android OS
Mukul Cool
 
Android architecture
Android architectureAndroid architecture
Android architecture
Srinivas Devarapalli
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
master760
 
Android : How Do I Code Thee?
Android : How Do I Code Thee?Android : How Do I Code Thee?
Android : How Do I Code Thee?
Viswanath J
 
A Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android DevelopmentA Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android Development
David Wu
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions newJoe Jacob
 
Introduction to Anchore Engine
Introduction to Anchore EngineIntroduction to Anchore Engine
Introduction to Anchore Engine
Maarten Smeets
 
Docker crash course
Docker crash courseDocker crash course
Docker crash course
Vishwas N
 
Android Pentesting - Oat2Dex
Android Pentesting - Oat2DexAndroid Pentesting - Oat2Dex
Android Pentesting - Oat2Dex
Sushil Bhojwani
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
Rajesh Kolla
 
Docker
DockerDocker
Docker
Utkarsh Soni
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
Gourav Varma
 

What's hot (20)

Android Handheld Systems
Android Handheld SystemsAndroid Handheld Systems
Android Handheld Systems
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
Andriod_Intro
Andriod_IntroAndriod_Intro
Andriod_Intro
 
Talk on .NET assemblies
Talk on .NET assembliesTalk on .NET assemblies
Talk on .NET assemblies
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Presentation for Android OS
Presentation for Android OSPresentation for Android OS
Presentation for Android OS
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android : How Do I Code Thee?
Android : How Do I Code Thee?Android : How Do I Code Thee?
Android : How Do I Code Thee?
 
A Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android DevelopmentA Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android Development
 
DevNation
DevNation DevNation
DevNation
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Introduction to Anchore Engine
Introduction to Anchore EngineIntroduction to Anchore Engine
Introduction to Anchore Engine
 
Docker crash course
Docker crash courseDocker crash course
Docker crash course
 
Android Pentesting - Oat2Dex
Android Pentesting - Oat2DexAndroid Pentesting - Oat2Dex
Android Pentesting - Oat2Dex
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
 
Docker
DockerDocker
Docker
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 

Similar to Anatomy of android aplication

Android project architecture
Android project architectureAndroid project architecture
Android project architecture
Sourabh Sahu
 
Android stepbystep
Android stepbystepAndroid stepbystep
Android stepbystepKrazy Koder
 
Android programming
Android programmingAndroid programming
Android programming
k.surya kumar
 
CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)
Sam Bowne
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
Kalluri Vinay Reddy
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
VaibhavKhunger2
 
Android eclipse project structure
Android eclipse project structureAndroid eclipse project structure
Android eclipse project structureperpetrotech
 
Anatomy Of An Adroid Application Lecture 3.pptx
Anatomy Of An Adroid Application Lecture 3.pptxAnatomy Of An Adroid Application Lecture 3.pptx
Anatomy Of An Adroid Application Lecture 3.pptx
Muzamil Yousaf
 
Android app development
Android app developmentAndroid app development
Android app development
Abhishek Saini
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
susijanny
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android Resource Manager
Android Resource ManagerAndroid Resource Manager
Android Resource Manager
Sandeep Marathe
 
Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
vin123456gangal
 
Android stepbystep
Android stepbystepAndroid stepbystep
Android stepbystepKrazy Koder
 
Android System Architecture And  Pen-testing of Android applications
Android System Architecture  And  Pen-testing of Android applications Android System Architecture  And  Pen-testing of Android applications
Android System Architecture And  Pen-testing of Android applications
yavuzwb
 
Android local databases
Android local databasesAndroid local databases
Android local databases
FatimaYousif11
 
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architectureAndroid Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
NicheTech Com. Solutions Pvt. Ltd.
 
Asp .net folders and web.config
Asp .net folders and web.configAsp .net folders and web.config
Asp .net folders and web.config
baabtra.com - No. 1 supplier of quality freshers
 
Pillar's of Pixel's | Project report
Pillar's of Pixel's | Project reportPillar's of Pixel's | Project report
Pillar's of Pixel's | Project report
Rajon
 

Similar to Anatomy of android aplication (20)

Android project architecture
Android project architectureAndroid project architecture
Android project architecture
 
Android stepbystep
Android stepbystepAndroid stepbystep
Android stepbystep
 
Android programming
Android programmingAndroid programming
Android programming
 
CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)CNIT 128 6. Analyzing Android Applications (Part 1)
CNIT 128 6. Analyzing Android Applications (Part 1)
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
 
Android eclipse project structure
Android eclipse project structureAndroid eclipse project structure
Android eclipse project structure
 
Asp folders and web configurations
Asp folders and web configurationsAsp folders and web configurations
Asp folders and web configurations
 
Anatomy Of An Adroid Application Lecture 3.pptx
Anatomy Of An Adroid Application Lecture 3.pptxAnatomy Of An Adroid Application Lecture 3.pptx
Anatomy Of An Adroid Application Lecture 3.pptx
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Android Resource Manager
Android Resource ManagerAndroid Resource Manager
Android Resource Manager
 
Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
 
Android stepbystep
Android stepbystepAndroid stepbystep
Android stepbystep
 
Android System Architecture And  Pen-testing of Android applications
Android System Architecture  And  Pen-testing of Android applications Android System Architecture  And  Pen-testing of Android applications
Android System Architecture And  Pen-testing of Android applications
 
Android local databases
Android local databasesAndroid local databases
Android local databases
 
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architectureAndroid Training Ahmedabad , Android Course Ahmedabad, Android architecture
Android Training Ahmedabad , Android Course Ahmedabad, Android architecture
 
Asp .net folders and web.config
Asp .net folders and web.configAsp .net folders and web.config
Asp .net folders and web.config
 
Pillar's of Pixel's | Project report
Pillar's of Pixel's | Project reportPillar's of Pixel's | Project report
Pillar's of Pixel's | Project report
 

More from poojapainter

Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
poojapainter
 
Android layouts
Android layoutsAndroid layouts
Android layouts
poojapainter
 
Overview of c
Overview of cOverview of c
Overview of c
poojapainter
 
Android architecture
Android architectureAndroid architecture
Android architecture
poojapainter
 
Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
poojapainter
 
Introduction to compiler interpreter
Introduction to compiler interpreterIntroduction to compiler interpreter
Introduction to compiler interpreter
poojapainter
 
Applets
AppletsApplets
Applets
poojapainter
 
Android the new Technology for mobile
Android the new Technology for mobileAndroid the new Technology for mobile
Android the new Technology for mobile
poojapainter
 

More from poojapainter (9)

Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
 
Android layouts
Android layoutsAndroid layouts
Android layouts
 
Overview of c
Overview of cOverview of c
Overview of c
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
 
Introduction to compiler interpreter
Introduction to compiler interpreterIntroduction to compiler interpreter
Introduction to compiler interpreter
 
Applets
AppletsApplets
Applets
 
Android the new Technology for mobile
Android the new Technology for mobileAndroid the new Technology for mobile
Android the new Technology for mobile
 
Green i t
Green i tGreen i t
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