SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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.

Weitere ähnliche Inhalte

Was ist angesagt?

Android resource
Android resourceAndroid resource
Android resourceKrazy Koder
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types pptkamal kotecha
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programmingElizabeth Thomas
 
Hibernate Presentation
Hibernate  PresentationHibernate  Presentation
Hibernate Presentationguest11106b
 
Remote Method Invocation
Remote Method InvocationRemote Method Invocation
Remote Method InvocationPaul Pajo
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecturedeepakshare
 
Java collections concept
Java collections conceptJava collections concept
Java collections conceptkumar gaurav
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android pptTaha Malampatti
 
Android SDK Tutorial | Edureka
Android SDK Tutorial | EdurekaAndroid SDK Tutorial | Edureka
Android SDK Tutorial | EdurekaEdureka!
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppttirupathinews
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Mr. Akaash
 

Was ist angesagt? (20)

Android resource
Android resourceAndroid resource
Android resource
 
SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE Android
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types ppt
 
Introduction to Eclipse IDE
Introduction to Eclipse IDEIntroduction to Eclipse IDE
Introduction to Eclipse IDE
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Inheritance in OOPS
Inheritance in OOPSInheritance in OOPS
Inheritance in OOPS
 
Hibernate Presentation
Hibernate  PresentationHibernate  Presentation
Hibernate Presentation
 
Remote Method Invocation
Remote Method InvocationRemote Method Invocation
Remote Method Invocation
 
PHP Project PPT
PHP Project PPTPHP Project PPT
PHP Project PPT
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
 
Java collections concept
Java collections conceptJava collections concept
Java collections concept
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
 
Json
JsonJson
Json
 
Flutter workshop
Flutter workshopFlutter workshop
Flutter workshop
 
Android SDK Tutorial | Edureka
Android SDK Tutorial | EdurekaAndroid SDK Tutorial | Edureka
Android SDK Tutorial | Edureka
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppt
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
JDBC
JDBCJDBC
JDBC
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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 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
 

Ähnlich wie 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 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
 
MIDP Internalization
MIDP InternalizationMIDP Internalization
MIDP Internalization
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfTechSoup
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesCeline George
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxEduSkills OECD
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice documentXsasf Sfdfasd
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.EnglishCEIPdeSigeiro
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational PhilosophyShuvankar Madhu
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17Celine George
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationMJDuyan
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 

Kürzlich hochgeladen (20)

Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdfMaximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
Maximizing Impact_ Nonprofit Website Planning, Budgeting, and Design.pdf
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 Sales
 
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptxPISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
PISA-VET launch_El Iza Mohamedou_19 March 2024.pptx
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice document
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational Philosophy
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive Education
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.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.