SlideShare une entreprise Scribd logo
1  sur  15
Resource Types
 Resources found in /res folder
 Here's a brief summary of each
resource type:
 Animation ResourcesDefine pre-
determined animations.
 Color State List ResourceDefine a
color resources that changes based
on the View state.
Saved in res/color/ and accessed from
the R.color
 class.
 Drawable ResourcesDefine various
graphics with bitmaps or XML.
Saved in res/drawable/ and accessed
from the R.drawable
 class.Layout ResourceDefine the
layout for your application UI.
Saved in res/layout/ and accessed
from the R.layout
 class.Menu ResourceDefine the
contents of your application menus.
Saved in res/menu/ and accessed
from the R.menu class.
 String ResourcesDefine strings, string
arrays, and plurals (and include string
formatting and styling).
Saved in res/values/ and accessed
from the R.string, R.array,
 /src
The src folder contains the application’s
source code in the form of Java files and is
organized into different packages
depending on its functionality.
 /GEN
 Gen folder contains files that are
automatically created by the ADT.It
contains R.java that was automatically
generated.R.java contains references to
all the resources that we have created in
the res folder of the android project.
 For every resources that is added to
the android project the ADT tool
regenerates the R.java file in order to
hold a reference to the newly added
resource.
 We should not manually edit the
contents of R.java file as the
application might not compile.
 /android <version number>
Android folder indicates the target library
of the Android Application.The version
number of the Android will be similar to
the build target version that was chosen
when creating the project .android.jar file
contains the required libraries to
execute our android program.
 /assets
Assets folder is used to store any raw data files
such as audio ,images etc.AssetManager in
android is used to access the data in this
folder.DATA stored in this folder cannot be
referenced using an ID.
 /bin
bin folder contains the compiled version of the
android application files.This folder contains the
class files which is a compiled version of .java
files,dex files which is a compiled version from
java .class files.apk files which is an android
executable file and its respective archives.
 /res
Res folder contains external resources
used inan Android application.External
resources could be images ,layout XML
files ,audio files etc.
SUBFOLDERS
 /res/drawable
 Drawable folder contains the bitmap files
that are used by the Android
Application.There are three different
folders in the project hierarchy to store
these files .They are
 Drawable-ldpi
 ldpi stands for low density pixel
resolution
 Drawable-hdpi
 Hdpi stands for high density pixel
resolution
This folder contains images that can be
used for specific screen
configurations.Android device chooses
images from one of the folders
depending on its screen resolution.
 /res/layout
Layout folder stores XML files that are
configured with the user interface
components of all activities in an android
application.
 /res/layout
 Layout stores XML files that are
configured with the user interface
components of all activities in an android
application.
 /res/values
 Values contains XML files that define
simple values like
Strings,arrays,styles,colors etc.
 /res/menu
 Menu folder contains XML files that hold
menu details of the android applications.
 values is meant for devices below API
11
 values-v11 is meant for devices with
API between 11 and 13
 values-v14 is is meant for devices
above API 13
 The resource.ap_ is all the resources for
you file zipped up. Everything from the
res, assets folders and the Manifest file.
 The apk file added in the class.dex (all
your compiled code) and any linked .so
(native code).
 Both of these files are in .zip format.
They can easily be view by changing the
extension to .zip and opening them.

Contenu connexe

Tendances (20)

Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE Android
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)
 
Php Presentation
Php PresentationPhp Presentation
Php Presentation
 
PHP - Introduction to File Handling with PHP
PHP -  Introduction to  File Handling with PHPPHP -  Introduction to  File Handling with PHP
PHP - Introduction to File Handling with PHP
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
Flutter workshop
Flutter workshopFlutter workshop
Flutter workshop
 
Java Streams
Java StreamsJava Streams
Java Streams
 
Visual studio
Visual studioVisual studio
Visual studio
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
.net framework
.net framework.net framework
.net framework
 
Introduction to Scala
Introduction to ScalaIntroduction to Scala
Introduction to Scala
 
Lecture 1 introduction to vb.net
Lecture 1   introduction to vb.netLecture 1   introduction to vb.net
Lecture 1 introduction to vb.net
 
Applets in java
Applets in javaApplets in java
Applets in java
 
9. Input Output in java
9. Input Output in java9. Input Output in java
9. Input Output in java
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Date and Time Module in Python | Edureka
Date and Time Module in Python | EdurekaDate and Time Module in Python | Edureka
Date and Time Module in Python | Edureka
 
Asp Architecture
Asp ArchitectureAsp Architecture
Asp Architecture
 
Java Basic Oops Concept
Java Basic Oops ConceptJava Basic Oops Concept
Java Basic Oops Concept
 

En vedette

Community resource mobilization in Asia (Aid finance session)
Community resource mobilization in Asia (Aid finance session)Community resource mobilization in Asia (Aid finance session)
Community resource mobilization in Asia (Aid finance session)IIED
 
Introduction to finance management
Introduction to finance managementIntroduction to finance management
Introduction to finance managementmanmanan4
 
Fostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh TakaleFostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh TakaleSantosh Takale
 
Lecture 3b: Acquisitions Funds, Budgets, and Accounting
Lecture 3b: Acquisitions Funds, Budgets, and AccountingLecture 3b: Acquisitions Funds, Budgets, and Accounting
Lecture 3b: Acquisitions Funds, Budgets, and AccountingKC Tan
 
Educational Information Management System (EIMS)
Educational Information Management System (EIMS)Educational Information Management System (EIMS)
Educational Information Management System (EIMS)Chetan Hireholi
 
Educational Management Systems
Educational Management SystemsEducational Management Systems
Educational Management SystemsIntrist
 
Management Information System Educational
Management Information System Educational Management Information System Educational
Management Information System Educational Sunny Mervyne Baa
 
Audit of educational institutions
Audit of educational institutionsAudit of educational institutions
Audit of educational institutionsDrishti Rai
 
Resource mobilization (osa)
Resource mobilization (osa)Resource mobilization (osa)
Resource mobilization (osa)Orly Agawin
 
Managing Project Resources
Managing Project ResourcesManaging Project Resources
Managing Project ResourcesToyin Osunlaja
 

En vedette (16)

Finance
FinanceFinance
Finance
 
Community resource mobilization in Asia (Aid finance session)
Community resource mobilization in Asia (Aid finance session)Community resource mobilization in Asia (Aid finance session)
Community resource mobilization in Asia (Aid finance session)
 
Introduction to finance management
Introduction to finance managementIntroduction to finance management
Introduction to finance management
 
Fostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh TakaleFostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh Takale
 
graj (2)
graj (2)graj (2)
graj (2)
 
Lecture 3b: Acquisitions Funds, Budgets, and Accounting
Lecture 3b: Acquisitions Funds, Budgets, and AccountingLecture 3b: Acquisitions Funds, Budgets, and Accounting
Lecture 3b: Acquisitions Funds, Budgets, and Accounting
 
Educational Information Management System (EIMS)
Educational Information Management System (EIMS)Educational Information Management System (EIMS)
Educational Information Management System (EIMS)
 
Educational Management Systems
Educational Management SystemsEducational Management Systems
Educational Management Systems
 
Management Information System Educational
Management Information System Educational Management Information System Educational
Management Information System Educational
 
Audit of educational institutions
Audit of educational institutionsAudit of educational institutions
Audit of educational institutions
 
Resource mobilization
Resource mobilizationResource mobilization
Resource mobilization
 
Resource mobilization (osa)
Resource mobilization (osa)Resource mobilization (osa)
Resource mobilization (osa)
 
Managing Project Resources
Managing Project ResourcesManaging Project Resources
Managing Project Resources
 
Resource mobilization-guide
Resource mobilization-guide Resource mobilization-guide
Resource mobilization-guide
 
Financial management intro
Financial management introFinancial management intro
Financial management intro
 
project management information system
project management information systemproject management information system
project management information system
 

Similaire à Android structure

Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docxKNANTHINIMCA
 
03 android application structure
03 android application structure03 android application structure
03 android application structureSokngim Sa
 
Android Application Fundamentals
Android Application FundamentalsAndroid Application Fundamentals
Android Application FundamentalsVikalp Jain
 
Android project architecture
Android project architectureAndroid project architecture
Android project architectureSourabh Sahu
 
Android resource
Android resourceAndroid resource
Android resourceKrazy Koder
 
Android App Development 08 : Support Multiple Devices
Android App Development 08 : Support Multiple DevicesAndroid App Development 08 : Support Multiple Devices
Android App Development 08 : Support Multiple DevicesAnuchit Chalothorn
 
Android App Development - 03 Resources
Android App Development - 03 ResourcesAndroid App Development - 03 Resources
Android App Development - 03 ResourcesDiego Grancini
 
Globalization and accessibility
Globalization and accessibilityGlobalization and accessibility
Globalization and accessibilityaspnet123
 
Application fundamentals
Application fundamentalsApplication fundamentals
Application fundamentalsmaamir farooq
 
Android Resource Manager
Android Resource ManagerAndroid Resource Manager
Android Resource ManagerSandeep Marathe
 
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.pptxMuzamil Yousaf
 
When using Android Studio- what is the purpose of the R-java file- Doe.docx
When using Android Studio- what is the purpose of the R-java file- Doe.docxWhen using Android Studio- what is the purpose of the R-java file- Doe.docx
When using Android Studio- what is the purpose of the R-java file- Doe.docxSUKHI5
 
Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplicationpoojapainter
 
Localization and Shared Preferences in android
Localization and Shared Preferences in androidLocalization and Shared Preferences in android
Localization and Shared Preferences in androidAly Arman
 
Android studio 2.0: default project structure
Android studio 2.0: default project structureAndroid studio 2.0: default project structure
Android studio 2.0: default project structureVyara Georgieva
 
Synapseindia android apps introduction hello world
Synapseindia android apps introduction hello worldSynapseindia android apps introduction hello world
Synapseindia android apps introduction hello worldTarunsingh198
 
Android application resources
Android application resourcesAndroid application resources
Android application resourcesSteve Smith
 

Similaire à Android structure (20)

Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docx
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
 
Android Application Fundamentals
Android Application FundamentalsAndroid Application Fundamentals
Android Application Fundamentals
 
Android resources in android-chapter9
Android resources in android-chapter9Android resources in android-chapter9
Android resources in android-chapter9
 
Android project architecture
Android project architectureAndroid project architecture
Android project architecture
 
Android resource
Android resourceAndroid resource
Android resource
 
Android App Development 08 : Support Multiple Devices
Android App Development 08 : Support Multiple DevicesAndroid App Development 08 : Support Multiple Devices
Android App Development 08 : Support Multiple Devices
 
Android App Development - 03 Resources
Android App Development - 03 ResourcesAndroid App Development - 03 Resources
Android App Development - 03 Resources
 
Globalization and accessibility
Globalization and accessibilityGlobalization and accessibility
Globalization and accessibility
 
Application fundamentals
Application fundamentalsApplication fundamentals
Application fundamentals
 
Android Resource Manager
Android Resource ManagerAndroid Resource Manager
Android Resource Manager
 
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
 
When using Android Studio- what is the purpose of the R-java file- Doe.docx
When using Android Studio- what is the purpose of the R-java file- Doe.docxWhen using Android Studio- what is the purpose of the R-java file- Doe.docx
When using Android Studio- what is the purpose of the R-java file- Doe.docx
 
Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplication
 
Android Programming.pptx
Android Programming.pptxAndroid Programming.pptx
Android Programming.pptx
 
Localization and Shared Preferences in android
Localization and Shared Preferences in androidLocalization and Shared Preferences in android
Localization and Shared Preferences in android
 
Android studio 2.0: default project structure
Android studio 2.0: default project structureAndroid studio 2.0: default project structure
Android studio 2.0: default project structure
 
Android programming
Android programmingAndroid programming
Android programming
 
Synapseindia android apps introduction hello world
Synapseindia android apps introduction hello worldSynapseindia android apps introduction hello world
Synapseindia android apps introduction hello world
 
Android application resources
Android application resourcesAndroid application resources
Android application resources
 

Plus de Kumar

Graphics devices
Graphics devicesGraphics devices
Graphics devicesKumar
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithmsKumar
 
region-filling
region-fillingregion-filling
region-fillingKumar
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivationKumar
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons dericationKumar
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xsltKumar
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xmlKumar
 
Xml basics
Xml basicsXml basics
Xml basicsKumar
 
XML Schema
XML SchemaXML Schema
XML SchemaKumar
 
Publishing xml
Publishing xmlPublishing xml
Publishing xmlKumar
 
Applying xml
Applying xmlApplying xml
Applying xmlKumar
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XMLKumar
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee applicationKumar
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLKumar
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB FundmentalsKumar
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programmingKumar
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programmingKumar
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversKumar
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EEKumar
 

Plus de Kumar (20)

Graphics devices
Graphics devicesGraphics devices
Graphics devices
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
 
region-filling
region-fillingregion-filling
region-filling
 
Bresenham derivation
Bresenham derivationBresenham derivation
Bresenham derivation
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xslt
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
 
Xml basics
Xml basicsXml basics
Xml basics
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Publishing xml
Publishing xmlPublishing xml
Publishing xml
 
DTD
DTDDTD
DTD
 
Applying xml
Applying xmlApplying xml
Applying xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee application
 
JNDI, JMS, JPA, XML
JNDI, JMS, JPA, XMLJNDI, JMS, JPA, XML
JNDI, JMS, JPA, XML
 
EJB Fundmentals
EJB FundmentalsEJB Fundmentals
EJB Fundmentals
 
JSP and struts programming
JSP and struts programmingJSP and struts programming
JSP and struts programming
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programming
 
Introduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC DriversIntroduction to JDBC and JDBC Drivers
Introduction to JDBC and JDBC Drivers
 
Introduction to J2EE
Introduction to J2EEIntroduction to J2EE
Introduction to J2EE
 

Dernier

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 

Dernier (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 

Android structure

  • 1. Resource Types  Resources found in /res folder  Here's a brief summary of each resource type:  Animation ResourcesDefine pre- determined animations.
  • 2.  Color State List ResourceDefine a color resources that changes based on the View state. Saved in res/color/ and accessed from the R.color
  • 3.  class.  Drawable ResourcesDefine various graphics with bitmaps or XML. Saved in res/drawable/ and accessed from the R.drawable
  • 4.  class.Layout ResourceDefine the layout for your application UI. Saved in res/layout/ and accessed from the R.layout
  • 5.  class.Menu ResourceDefine the contents of your application menus. Saved in res/menu/ and accessed from the R.menu class.  String ResourcesDefine strings, string arrays, and plurals (and include string formatting and styling). Saved in res/values/ and accessed from the R.string, R.array,
  • 6.  /src The src folder contains the application’s source code in the form of Java files and is organized into different packages depending on its functionality.  /GEN  Gen folder contains files that are automatically created by the ADT.It contains R.java that was automatically generated.R.java contains references to all the resources that we have created in the res folder of the android project.
  • 7.  For every resources that is added to the android project the ADT tool regenerates the R.java file in order to hold a reference to the newly added resource.  We should not manually edit the contents of R.java file as the application might not compile.
  • 8.  /android <version number> Android folder indicates the target library of the Android Application.The version number of the Android will be similar to the build target version that was chosen when creating the project .android.jar file contains the required libraries to execute our android program.
  • 9.  /assets Assets folder is used to store any raw data files such as audio ,images etc.AssetManager in android is used to access the data in this folder.DATA stored in this folder cannot be referenced using an ID.  /bin bin folder contains the compiled version of the android application files.This folder contains the class files which is a compiled version of .java files,dex files which is a compiled version from java .class files.apk files which is an android executable file and its respective archives.
  • 10.  /res Res folder contains external resources used inan Android application.External resources could be images ,layout XML files ,audio files etc.
  • 11. SUBFOLDERS  /res/drawable  Drawable folder contains the bitmap files that are used by the Android Application.There are three different folders in the project hierarchy to store these files .They are  Drawable-ldpi  ldpi stands for low density pixel resolution  Drawable-hdpi  Hdpi stands for high density pixel resolution
  • 12. This folder contains images that can be used for specific screen configurations.Android device chooses images from one of the folders depending on its screen resolution.  /res/layout Layout folder stores XML files that are configured with the user interface components of all activities in an android application.
  • 13.  /res/layout  Layout stores XML files that are configured with the user interface components of all activities in an android application.  /res/values  Values contains XML files that define simple values like Strings,arrays,styles,colors etc.  /res/menu  Menu folder contains XML files that hold menu details of the android applications.
  • 14.  values is meant for devices below API 11  values-v11 is meant for devices with API between 11 and 13  values-v14 is is meant for devices above API 13
  • 15.  The resource.ap_ is all the resources for you file zipped up. Everything from the res, assets folders and the Manifest file.  The apk file added in the class.dex (all your compiled code) and any linked .so (native code).  Both of these files are in .zip format. They can easily be view by changing the extension to .zip and opening them.