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

Talk on .NET assemblies
Talk on .NET assembliesTalk on .NET assemblies
Talk on .NET assemblies
Vidya Agarwal
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 

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 stepbystep
Android stepbystepAndroid stepbystep
Android stepbystep
Krazy Koder
 
Android eclipse project structure
Android eclipse project structureAndroid eclipse project structure
Android eclipse project structure
perpetrotech
 
Android stepbystep
Android stepbystepAndroid stepbystep
Android stepbystep
Krazy Koder
 
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 by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android app development
Android app developmentAndroid app development
Android app development
 
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 (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
 

Recently uploaded

Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (8)

Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s ToolsMobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s Tools
 
Mobile Application Development- Configuration and Android Installation
Mobile Application Development- Configuration and Android InstallationMobile Application Development- Configuration and Android Installation
Mobile Application Development- Configuration and Android Installation
 
Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312Mobile App Penetration Testing Bsides312
Mobile App Penetration Testing Bsides312
 
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
 
Bromazolam CAS 71368-80-4 high quality opiates, Safe transportation, 99% pure
Bromazolam CAS 71368-80-4 high quality opiates, Safe transportation, 99% pureBromazolam CAS 71368-80-4 high quality opiates, Safe transportation, 99% pure
Bromazolam CAS 71368-80-4 high quality opiates, Safe transportation, 99% pure
 
Android Application Components with Implementation & Examples
Android Application Components with Implementation & ExamplesAndroid Application Components with Implementation & Examples
Android Application Components with Implementation & Examples
 
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
Satara Call girl escort *74796//13122* Call me punam call girls 24*7hour avai...
 

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