SlideShare a Scribd company logo
ACADGILD
Fundamentals of Android
Applications
1
ACADGILD
 Project Structure
 Android Manifest
 Resources
 Types of Resources
 Core Component – Activity
 Activity Life Cycle
 Summary
Contents
2Fundamentals of Android Applications
ACADGILD
. 1.idea - the project specific metadata is stored by
Android Studio.
2. Project Module (application) - This is the
project folder where your application code
resides. Its sub directories are:
1. build: This has all the output of the make
process i.e. classes.dex, compiled classes,
and resources, etc.
2. libs : This is a commonly seen folder in
eclipse land too, which optionally can hold
the libraries or .jar files.
3. src: The src folder can have both
application code (main) & android unit test
script(“androidTest”). The java folder
contains all the java codes and res contains
drawables, layouts, etc.
3. Gradle - This is where the gradle build system’s
jar wrapper i.e. this jar is how Android System
communicates with gradle installed in OS
4. External Libraries - A place where Referenced
Libraries are found and also target SDK Platform
Project Structure
3Fundamentals of Android Applications
1
2
3
4
a
b
c
ACADGILD
• Metadata of Android Application.
• Syntax :
<manifest>
<!-- Elements for Application properties should come here -->
<application>
<!-- Elements for application components should come here -->
</application>
</manifest>
Android Manifest
4Fundamentals of Android Applications
ACADGILD
• Resources are the additional files
and static content that your code
uses.
• For any type of resource, you can
specify default and multiple
alternative resources for your
application.
Resources
5Fundamentals of Android Applications
ACADGILD
1. Some attributes have values that can be displayed to users — for example, a label and
an icon for an activity.
• The values of these attributes should be localized and therefore set from a resource
or theme.
• Resource values are expressed in the following format : @[package:]type:name
2. The package name can be omitted if the resource is in the same package as the
application, type is a type of resource — such as "string" or "drawable" — and name is
the name that identifies the specific resource.
• For example: <activity android:icon="@drawable/smallPic" . . . >
3. Values from a theme are expressed in a similar manner, but with an initial '?' rather
than '@‘.
• For Example: ?[package:]type:name
Resources
6Fundamentals of Android Applications
ACADGILD
Animation Resources
• Tween animations are saved in res/anim/ and accessed from the R.anim class.
• Frame animations are saved in res/drawable/ and accessed from
the R.drawable class.
Color State List Resource
• Define a color resources that changes based on the View state.
• Saved in res/color/ and accessed from the R.color class.
Drawable Resources
• Define various graphics with bitmaps or XML.
• Saved in res/drawable/ and accessed from the R.drawable class.
Layout Resource
• Define the layout for your application UI.
• Saved in res/layout/ and accessed from the R.layout class.
Type of Resources
7Fundamentals of Android Applications
ACADGILD
Menu Resource
• Define the contents of your application menus.
• Saved in res/menu/ and accessed from the R.menu class.
String Resources
• Define strings, string arrays, and plurals (and include string formatting and styling).
• Saved in res/values/ and accessed from the R.string, R.array, and R.plurals classes.
Style Resource
• Define the look and format for UI elements.
• Saved in res/values/ and accessed from the R.style class.
More Resource Types
• Define values such as booleans, integers, dimensions, colors, and other arrays.
• Saved in res/values/ but each accessed from unique R sub-classes (such
as R.bool, R.integer, R.dimen, etc.)
Type of Resources
8Fundamentals of Android Applications
ACADGILD
Activity
 Every screen in an Android application is an Activity.
 Activity will always have a User Interface (abbreviated as UI).
 It is not possible to have an Activity without a UI.
Core Component Activity
9Fundamentals of Android Applications
ACADGILD
Activity Life Cycle
10Fundamentals of Android Applications
Save Important
Data
ACADGILD
 We have seen the initial project structure
– AndroidManifest,
– Resources.
 Activity and its Life Cycle.
 Importance of onPause method.
Summary
11Fundamentals of Android Applications
ACADGILD
Glossary
12
Terms Description
Tween animation Creates an animation by performing a series of
transformations on a single image with an Animation
Frame animation Creates an animation by showing a sequence of images in
order with an AnimationDrawable.
Ad

More Related Content

What's hot (20)

Android application development for TresmaxAsia
Android application development for TresmaxAsiaAndroid application development for TresmaxAsia
Android application development for TresmaxAsia
Michael Angelo Rivera
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
JavaTpoint.Com
 
Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplication
poojapainter
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
Tripti Tiwari
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
niteshnarayanlal
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
srinivasansoundar
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1
Borhan Otour
 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
Hem Shrestha
 
Android architecture
Android architectureAndroid architecture
Android architecture
Saurabh Kukreja
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
Srijib Roy
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
Bram Vandeputte
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
krishnastudent88
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
Nandini Prabhu
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
Mike Wolfson
 
Android basics
Android basicsAndroid basics
Android basics
Akhil Kumar
 
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
Sittiphol Phanvilai
 
Android Basics
Android BasicsAndroid Basics
Android Basics
Arvind Sahu
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
Anshul Sharma
 
Android Training
Android TrainingAndroid Training
Android Training
Tbldevelopment
 
Android overview
Android overviewAndroid overview
Android overview
Has Taiar
 
Android application development for TresmaxAsia
Android application development for TresmaxAsiaAndroid application development for TresmaxAsia
Android application development for TresmaxAsia
Michael Angelo Rivera
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
JavaTpoint.Com
 
Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplication
poojapainter
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
Tripti Tiwari
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1
Borhan Otour
 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
Hem Shrestha
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
Srijib Roy
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
Nandini Prabhu
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
Mike Wolfson
 
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
Sittiphol Phanvilai
 
Android overview
Android overviewAndroid overview
Android overview
Has Taiar
 

Viewers also liked (20)

Intents in Android
Intents in AndroidIntents in Android
Intents in Android
ma-polimi
 
Android User Interface Tutorial: DatePicker, TimePicker & Spinner
Android User Interface Tutorial: DatePicker, TimePicker & SpinnerAndroid User Interface Tutorial: DatePicker, TimePicker & Spinner
Android User Interface Tutorial: DatePicker, TimePicker & Spinner
Ahsanul Karim
 
Android Lesson 3 - Intent
Android Lesson 3 - IntentAndroid Lesson 3 - Intent
Android Lesson 3 - Intent
Daniela Da Cruz
 
Open Intents - Android Intents Mechanism and Dependency Management
Open Intents - Android Intents Mechanism and Dependency ManagementOpen Intents - Android Intents Mechanism and Dependency Management
Open Intents - Android Intents Mechanism and Dependency Management
Friedger Müffke
 
Broadcast Receivers in Android
Broadcast Receivers in AndroidBroadcast Receivers in Android
Broadcast Receivers in Android
ma-polimi
 
Android Fundamentals - Day 2
Android Fundamentals - Day 2Android Fundamentals - Day 2
Android Fundamentals - Day 2
Mohammad Tarek
 
Android app fundamentals
Android app fundamentalsAndroid app fundamentals
Android app fundamentals
Amr Salman
 
Android Fundamentals
Android FundamentalsAndroid Fundamentals
Android Fundamentals
Mohammad Tarek
 
Introduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding libraryIntroduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding library
Kaushal Dhruw
 
Gradle for Android Developers
Gradle for Android DevelopersGradle for Android Developers
Gradle for Android Developers
Josiah Renaudin
 
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
Deepu S Nath
 
Exploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondExploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & Beyond
Kaushal Dhruw
 
Android gradle-build-system-overview
Android gradle-build-system-overviewAndroid gradle-build-system-overview
Android gradle-build-system-overview
Kevin He
 
Gradle & Android Studio - Introduction
Gradle & Android Studio - IntroductionGradle & Android Studio - Introduction
Gradle & Android Studio - Introduction
Kevin Pelgrims
 
Events and Listeners in Android
Events and Listeners in AndroidEvents and Listeners in Android
Events and Listeners in Android
ma-polimi
 
New to android studio
New to android studioNew to android studio
New to android studio
Engine Bai
 
AndroidManifest
AndroidManifestAndroidManifest
AndroidManifest
Ahsanul Karim
 
Android Components & Manifest
Android Components & ManifestAndroid Components & Manifest
Android Components & Manifest
ma-polimi
 
A Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android DevelopmentA Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android Development
David Wu
 
Intents in Android
Intents in AndroidIntents in Android
Intents in Android
ma-polimi
 
Android User Interface Tutorial: DatePicker, TimePicker & Spinner
Android User Interface Tutorial: DatePicker, TimePicker & SpinnerAndroid User Interface Tutorial: DatePicker, TimePicker & Spinner
Android User Interface Tutorial: DatePicker, TimePicker & Spinner
Ahsanul Karim
 
Android Lesson 3 - Intent
Android Lesson 3 - IntentAndroid Lesson 3 - Intent
Android Lesson 3 - Intent
Daniela Da Cruz
 
Open Intents - Android Intents Mechanism and Dependency Management
Open Intents - Android Intents Mechanism and Dependency ManagementOpen Intents - Android Intents Mechanism and Dependency Management
Open Intents - Android Intents Mechanism and Dependency Management
Friedger Müffke
 
Broadcast Receivers in Android
Broadcast Receivers in AndroidBroadcast Receivers in Android
Broadcast Receivers in Android
ma-polimi
 
Android Fundamentals - Day 2
Android Fundamentals - Day 2Android Fundamentals - Day 2
Android Fundamentals - Day 2
Mohammad Tarek
 
Android app fundamentals
Android app fundamentalsAndroid app fundamentals
Android app fundamentals
Amr Salman
 
Introduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding libraryIntroduction to android studio 2.0 and data binding library
Introduction to android studio 2.0 and data binding library
Kaushal Dhruw
 
Gradle for Android Developers
Gradle for Android DevelopersGradle for Android Developers
Gradle for Android Developers
Josiah Renaudin
 
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
Deepu S Nath
 
Exploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & BeyondExploring the power of Gradle in android studio - Basics & Beyond
Exploring the power of Gradle in android studio - Basics & Beyond
Kaushal Dhruw
 
Android gradle-build-system-overview
Android gradle-build-system-overviewAndroid gradle-build-system-overview
Android gradle-build-system-overview
Kevin He
 
Gradle & Android Studio - Introduction
Gradle & Android Studio - IntroductionGradle & Android Studio - Introduction
Gradle & Android Studio - Introduction
Kevin Pelgrims
 
Events and Listeners in Android
Events and Listeners in AndroidEvents and Listeners in Android
Events and Listeners in Android
ma-polimi
 
New to android studio
New to android studioNew to android studio
New to android studio
Engine Bai
 
Android Components & Manifest
Android Components & ManifestAndroid Components & Manifest
Android Components & Manifest
ma-polimi
 
A Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android DevelopmentA Deep Dive into Open Source Android Development
A Deep Dive into Open Source Android Development
David Wu
 
Ad

Similar to Android Application Fundamentals (20)

Android project architecture
Android project architectureAndroid project architecture
Android project architecture
Sourabh Sahu
 
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
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
Sokngim Sa
 
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppteyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
FarhanGhafoor7
 
Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docx
KNANTHINIMCA
 
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.
 
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 structure
Android structureAndroid structure
Android structure
Kumar
 
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
SUKHI5
 
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 resource
Android resourceAndroid resource
Android resource
Krazy Koder
 
Lec-2-Mobile Application Development.pptx
Lec-2-Mobile Application Development.pptxLec-2-Mobile Application Development.pptx
Lec-2-Mobile Application Development.pptx
SheharBano86
 
Android Programming.pptx
Android Programming.pptxAndroid Programming.pptx
Android Programming.pptx
vishal choudhary
 
Android resources in android-chapter9
Android resources in android-chapter9Android resources in android-chapter9
Android resources in android-chapter9
Dr. Ramkumar Lakshminarayanan
 
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
 
Engibrainz android syllabus
Engibrainz android syllabusEngibrainz android syllabus
Engibrainz android syllabus
Varun B P
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android programming
Android programmingAndroid programming
Android programming
k.surya kumar
 
Android application development
Android application developmentAndroid application development
Android application development
slidesuren
 
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
Vyara Georgieva
 
Android project architecture
Android project architectureAndroid project architecture
Android project architecture
Sourabh Sahu
 
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
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
Sokngim Sa
 
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppteyeryeryeryeryeyeyeryeryyerye13872085.ppt
eyeryeryeryeryeyeyeryeryyerye13872085.ppt
FarhanGhafoor7
 
Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docx
KNANTHINIMCA
 
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.
 
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 structure
Android structureAndroid structure
Android structure
Kumar
 
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
SUKHI5
 
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 resource
Android resourceAndroid resource
Android resource
Krazy Koder
 
Lec-2-Mobile Application Development.pptx
Lec-2-Mobile Application Development.pptxLec-2-Mobile Application Development.pptx
Lec-2-Mobile Application Development.pptx
SheharBano86
 
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
 
Engibrainz android syllabus
Engibrainz android syllabusEngibrainz android syllabus
Engibrainz android syllabus
Varun B P
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android application development
Android application developmentAndroid application development
Android application development
slidesuren
 
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
Vyara Georgieva
 
Ad

Recently uploaded (20)

Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025
kashifyounis067
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025
kashifyounis067
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 

Android Application Fundamentals

  • 2. ACADGILD  Project Structure  Android Manifest  Resources  Types of Resources  Core Component – Activity  Activity Life Cycle  Summary Contents 2Fundamentals of Android Applications
  • 3. ACADGILD . 1.idea - the project specific metadata is stored by Android Studio. 2. Project Module (application) - This is the project folder where your application code resides. Its sub directories are: 1. build: This has all the output of the make process i.e. classes.dex, compiled classes, and resources, etc. 2. libs : This is a commonly seen folder in eclipse land too, which optionally can hold the libraries or .jar files. 3. src: The src folder can have both application code (main) & android unit test script(“androidTest”). The java folder contains all the java codes and res contains drawables, layouts, etc. 3. Gradle - This is where the gradle build system’s jar wrapper i.e. this jar is how Android System communicates with gradle installed in OS 4. External Libraries - A place where Referenced Libraries are found and also target SDK Platform Project Structure 3Fundamentals of Android Applications 1 2 3 4 a b c
  • 4. ACADGILD • Metadata of Android Application. • Syntax : <manifest> <!-- Elements for Application properties should come here --> <application> <!-- Elements for application components should come here --> </application> </manifest> Android Manifest 4Fundamentals of Android Applications
  • 5. ACADGILD • Resources are the additional files and static content that your code uses. • For any type of resource, you can specify default and multiple alternative resources for your application. Resources 5Fundamentals of Android Applications
  • 6. ACADGILD 1. Some attributes have values that can be displayed to users — for example, a label and an icon for an activity. • The values of these attributes should be localized and therefore set from a resource or theme. • Resource values are expressed in the following format : @[package:]type:name 2. The package name can be omitted if the resource is in the same package as the application, type is a type of resource — such as "string" or "drawable" — and name is the name that identifies the specific resource. • For example: <activity android:icon="@drawable/smallPic" . . . > 3. Values from a theme are expressed in a similar manner, but with an initial '?' rather than '@‘. • For Example: ?[package:]type:name Resources 6Fundamentals of Android Applications
  • 7. ACADGILD Animation Resources • Tween animations are saved in res/anim/ and accessed from the R.anim class. • Frame animations are saved in res/drawable/ and accessed from the R.drawable class. Color State List Resource • Define a color resources that changes based on the View state. • Saved in res/color/ and accessed from the R.color class. Drawable Resources • Define various graphics with bitmaps or XML. • Saved in res/drawable/ and accessed from the R.drawable class. Layout Resource • Define the layout for your application UI. • Saved in res/layout/ and accessed from the R.layout class. Type of Resources 7Fundamentals of Android Applications
  • 8. ACADGILD Menu Resource • Define the contents of your application menus. • Saved in res/menu/ and accessed from the R.menu class. String Resources • Define strings, string arrays, and plurals (and include string formatting and styling). • Saved in res/values/ and accessed from the R.string, R.array, and R.plurals classes. Style Resource • Define the look and format for UI elements. • Saved in res/values/ and accessed from the R.style class. More Resource Types • Define values such as booleans, integers, dimensions, colors, and other arrays. • Saved in res/values/ but each accessed from unique R sub-classes (such as R.bool, R.integer, R.dimen, etc.) Type of Resources 8Fundamentals of Android Applications
  • 9. ACADGILD Activity  Every screen in an Android application is an Activity.  Activity will always have a User Interface (abbreviated as UI).  It is not possible to have an Activity without a UI. Core Component Activity 9Fundamentals of Android Applications
  • 10. ACADGILD Activity Life Cycle 10Fundamentals of Android Applications Save Important Data
  • 11. ACADGILD  We have seen the initial project structure – AndroidManifest, – Resources.  Activity and its Life Cycle.  Importance of onPause method. Summary 11Fundamentals of Android Applications
  • 12. ACADGILD Glossary 12 Terms Description Tween animation Creates an animation by performing a series of transformations on a single image with an Animation Frame animation Creates an animation by showing a sequence of images in order with an AnimationDrawable.