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

More Related Content

What's hot (20)

Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
Ranjith Kumar
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
Akash Bisariya
 
Android activities & views
Android activities & viewsAndroid activities & views
Android activities & views
ma-polimi
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
zeelpatel0504
 
Android ppt
 Android ppt Android ppt
Android ppt
Basavaraj Amogi
 
android architecture
android architectureandroid architecture
android architecture
Aashita Gupta
 
[Android] Widget Event Handling
[Android] Widget Event Handling[Android] Widget Event Handling
[Android] Widget Event Handling
Nikmesoft Ltd
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
amaankhan
 
Android Threading
Android ThreadingAndroid Threading
Android Threading
Jussi Pohjolainen
 
Fragment
Fragment Fragment
Fragment
nationalmobileapps
 
Android UI
Android UIAndroid UI
Android UI
nationalmobileapps
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
Farabi Technology Middle East
 
Android Widget
Android WidgetAndroid Widget
Android Widget
ELLURU Kalyan
 
Cgi
CgiCgi
Cgi
Girish Srivastava
 
android-tutorial-for-beginner
android-tutorial-for-beginnerandroid-tutorial-for-beginner
android-tutorial-for-beginner
Ajailal Parackal
 
Android Location and Maps
Android Location and MapsAndroid Location and Maps
Android Location and Maps
Jussi Pohjolainen
 
Python
PythonPython
Python
Shivam Gupta
 
Android Basic Components
Android Basic ComponentsAndroid Basic Components
Android Basic Components
Jussi Pohjolainen
 
Introduction to fragments in android
Introduction to fragments in androidIntroduction to fragments in android
Introduction to fragments in android
Prawesh Shrestha
 
Android and android versions
Android and android versionsAndroid and android versions
Android and android versions
Megha Jain
 

Viewers also liked (17)

Finance
FinanceFinance
Finance
Vinci Viveka
 
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 management
manmanan4
 
Fostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh TakaleFostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh Takale
Santosh Takale
 
Formative and summative evaluation
Formative and summative evaluationFormative and summative evaluation
Formative and summative evaluation
Sapna M. Sc. BS
 
graj (2)
graj (2)graj (2)
graj (2)
Dept of Education
 
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
KC 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 Systems
Intrist
 
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 institutions
Drishti Rai
 
Resource mobilization
Resource mobilizationResource mobilization
Resource mobilization
Deepti Nambiar
 
Resource mobilization (osa)
Resource mobilization (osa)Resource mobilization (osa)
Resource mobilization (osa)
Orly Agawin
 
Managing Project Resources
Managing Project ResourcesManaging Project Resources
Managing Project Resources
Toyin Osunlaja
 
Resource mobilization-guide
Resource mobilization-guide Resource mobilization-guide
Resource mobilization-guide
Ana Lydia Fernandez- Layos
 
Financial management intro
Financial management introFinancial management intro
Financial management intro
Abdi Hakiim Hirsi
 
project management information system
project management information systemproject management information system
project management information system
Aswin prakash i , Xantus Technologies
 
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 management
manmanan4
 
Fostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh TakaleFostering Scientific Temper by Santosh Takale
Fostering Scientific Temper by Santosh Takale
Santosh Takale
 
Formative and summative evaluation
Formative and summative evaluationFormative and summative evaluation
Formative and summative evaluation
Sapna M. Sc. BS
 
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
KC 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 Systems
Intrist
 
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 institutions
Drishti 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 Resources
Toyin Osunlaja
 
Ad

Similar to Android structure (20)

Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplication
poojapainter
 
this is PPT for mobail application development
this is PPT for mobail application developmentthis is PPT for mobail application development
this is PPT for mobail application development
swapnildhage339
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android project architecture
Android project architectureAndroid project architecture
Android project architecture
Sourabh Sahu
 
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 - 03 Resources
Android App Development - 03 ResourcesAndroid App Development - 03 Resources
Android App Development - 03 Resources
Diego Grancini
 
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.
 
Chapter 9 - Resources System
Chapter 9 - Resources SystemChapter 9 - Resources System
Chapter 9 - Resources System
Sittiphol Phanvilai
 
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppteyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
FarhanGhafoor7
 
Android Application Fundamentals
Android Application FundamentalsAndroid Application Fundamentals
Android Application Fundamentals
Vikalp Jain
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
Jagdish Gediya
 
Unit 2 in environment science and technology
Unit 2 in environment science and technologyUnit 2 in environment science and technology
Unit 2 in environment science and technology
saimohith981
 
Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docx
KNANTHINIMCA
 
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 components
Android componentsAndroid components
Android components
NAVEENA ESWARAN
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
Sokngim Sa
 
Android Bootcamp
Android   BootcampAndroid   Bootcamp
Android Bootcamp
ahkjsdcsadc
 
Android Development Basics
Android Development BasicsAndroid Development Basics
Android Development Basics
Prajakta Dharmpurikar
 
Introduction & App Structure
Introduction & App StructureIntroduction & App Structure
Introduction & App Structure
CITSimon
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
Dr. Chandrakant Divate
 
Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplication
poojapainter
 
this is PPT for mobail application development
this is PPT for mobail application developmentthis is PPT for mobail application development
this is PPT for mobail application development
swapnildhage339
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android project architecture
Android project architectureAndroid project architecture
Android project architecture
Sourabh Sahu
 
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 - 03 Resources
Android App Development - 03 ResourcesAndroid App Development - 03 Resources
Android App Development - 03 Resources
Diego Grancini
 
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.
 
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppteyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
FarhanGhafoor7
 
Android Application Fundamentals
Android Application FundamentalsAndroid Application Fundamentals
Android Application Fundamentals
Vikalp Jain
 
Android activity, service, and broadcast recievers
Android activity, service, and broadcast recieversAndroid activity, service, and broadcast recievers
Android activity, service, and broadcast recievers
Jagdish Gediya
 
Unit 2 in environment science and technology
Unit 2 in environment science and technologyUnit 2 in environment science and technology
Unit 2 in environment science and technology
saimohith981
 
Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docx
KNANTHINIMCA
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
VaibhavKhunger2
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
Sokngim Sa
 
Android Bootcamp
Android   BootcampAndroid   Bootcamp
Android Bootcamp
ahkjsdcsadc
 
Introduction & App Structure
Introduction & App StructureIntroduction & App Structure
Introduction & App Structure
CITSimon
 
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and LayoutsMobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
Dr. Chandrakant Divate
 
Ad

More from Kumar (20)

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

Recently uploaded (20)

Ethics and evidence based practice in nursing education
Ethics and evidence based practice in nursing educationEthics and evidence based practice in nursing education
Ethics and evidence based practice in nursing education
ALEENAABRAHAM11
 
The Board Doesn’t Care About Your Roadmap: Running Product at the Board
The Board Doesn’t Care About Your Roadmap: Running Product at the BoardThe Board Doesn’t Care About Your Roadmap: Running Product at the Board
The Board Doesn’t Care About Your Roadmap: Running Product at the Board
victoriamangiantini1
 
Statement by Linda McMahon on May 21, 2025
Statement by Linda McMahon on May 21, 2025Statement by Linda McMahon on May 21, 2025
Statement by Linda McMahon on May 21, 2025
Mebane Rash
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic SuccessAerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
online college homework help
 
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
businessweekghana
 
How to Manage Allow Ship Later for Sold Product in odoo Point of Sale
How to Manage Allow Ship Later for Sold Product in odoo Point of SaleHow to Manage Allow Ship Later for Sold Product in odoo Point of Sale
How to Manage Allow Ship Later for Sold Product in odoo Point of Sale
Celine George
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-17-2025 .pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-17-2025  .pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-17-2025  .pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-17-2025 .pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...
CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...
CANSA World No Tobacco Day campaign 2025 Vaping is not a safe form of smoking...
CANSA The Cancer Association of South Africa
 
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup
 
Module I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good GovernanceModule I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good Governance
srkmcop0027
 
How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18
Celine George
 
he Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Successhe Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Success
TechSoup
 
Product in Wartime: How to Build When the Market Is Against You
Product in Wartime: How to Build When the Market Is Against YouProduct in Wartime: How to Build When the Market Is Against You
Product in Wartime: How to Build When the Market Is Against You
victoriamangiantini1
 
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdfLeveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
TechSoup
 
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
EduSkills OECD
 
From Hype to Moat: Building a Defensible AI Strategy
From Hype to Moat: Building a Defensible AI StrategyFrom Hype to Moat: Building a Defensible AI Strategy
From Hype to Moat: Building a Defensible AI Strategy
victoriamangiantini1
 
Electronics Engineering Assignment Help Guide – Expert Support for Students
Electronics Engineering Assignment Help Guide – Expert Support for StudentsElectronics Engineering Assignment Help Guide – Expert Support for Students
Electronics Engineering Assignment Help Guide – Expert Support for Students
online college homework help
 
How to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo SlidesHow to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo Slides
Celine George
 
Online elections for Parliament for European Union
Online elections for Parliament for European UnionOnline elections for Parliament for European Union
Online elections for Parliament for European Union
Monica Enache
 
Ethics and evidence based practice in nursing education
Ethics and evidence based practice in nursing educationEthics and evidence based practice in nursing education
Ethics and evidence based practice in nursing education
ALEENAABRAHAM11
 
The Board Doesn’t Care About Your Roadmap: Running Product at the Board
The Board Doesn’t Care About Your Roadmap: Running Product at the BoardThe Board Doesn’t Care About Your Roadmap: Running Product at the Board
The Board Doesn’t Care About Your Roadmap: Running Product at the Board
victoriamangiantini1
 
Statement by Linda McMahon on May 21, 2025
Statement by Linda McMahon on May 21, 2025Statement by Linda McMahon on May 21, 2025
Statement by Linda McMahon on May 21, 2025
Mebane Rash
 
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit..."Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
"Bridging Cultures Through Holiday Cards: 39 Students Celebrate Global Tradit...
AlionaBujoreanu
 
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic SuccessAerospace Engineering Homework Help Guide – Expert Support for Academic Success
Aerospace Engineering Homework Help Guide – Expert Support for Academic Success
online college homework help
 
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
UPSA JUDGEMENT.pdfCopyright Infringement: High Court Rules against UPSA: A Wa...
businessweekghana
 
How to Manage Allow Ship Later for Sold Product in odoo Point of Sale
How to Manage Allow Ship Later for Sold Product in odoo Point of SaleHow to Manage Allow Ship Later for Sold Product in odoo Point of Sale
How to Manage Allow Ship Later for Sold Product in odoo Point of Sale
Celine George
 
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup - Microsoft Discontinuation of Selected Cloud Donated Offers 2025.05...
TechSoup
 
Module I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good GovernanceModule I. Democracy, Elections & Good Governance
Module I. Democracy, Elections & Good Governance
srkmcop0027
 
How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18How to Manage Customer Info from POS in Odoo 18
How to Manage Customer Info from POS in Odoo 18
Celine George
 
he Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Successhe Grant Preparation Playbook: Building a System for Grant Success
he Grant Preparation Playbook: Building a System for Grant Success
TechSoup
 
Product in Wartime: How to Build When the Market Is Against You
Product in Wartime: How to Build When the Market Is Against YouProduct in Wartime: How to Build When the Market Is Against You
Product in Wartime: How to Build When the Market Is Against You
victoriamangiantini1
 
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdfLeveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
Leveraging AI to Streamline Operations for Nonprofits [05.20.2025].pdf
TechSoup
 
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
Launch of The State of Global Teenage Career Preparation - Andreas Schleicher...
EduSkills OECD
 
From Hype to Moat: Building a Defensible AI Strategy
From Hype to Moat: Building a Defensible AI StrategyFrom Hype to Moat: Building a Defensible AI Strategy
From Hype to Moat: Building a Defensible AI Strategy
victoriamangiantini1
 
Electronics Engineering Assignment Help Guide – Expert Support for Students
Electronics Engineering Assignment Help Guide – Expert Support for StudentsElectronics Engineering Assignment Help Guide – Expert Support for Students
Electronics Engineering Assignment Help Guide – Expert Support for Students
online college homework help
 
How to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo SlidesHow to Manage Blanket Order in Odoo 18 - Odoo Slides
How to Manage Blanket Order in Odoo 18 - Odoo Slides
Celine George
 
Online elections for Parliament for European Union
Online elections for Parliament for European UnionOnline elections for Parliament for European Union
Online elections for Parliament for European Union
Monica Enache
 

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.
  翻译: