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.

More Related Content

What's hot

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
 

What's hot (20)

Android application development for TresmaxAsia
Android application development for TresmaxAsiaAndroid application development for TresmaxAsia
Android application development for TresmaxAsia
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
 
Anatomy of android aplication
Anatomy of android aplicationAnatomy of android aplication
Anatomy of android aplication
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1
 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
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
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
 
Android basics
Android basicsAndroid basics
Android basics
 
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]
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Android Training
Android TrainingAndroid Training
Android Training
 
Android overview
Android overviewAndroid overview
Android overview
 

Viewers also liked

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
 

Viewers also liked (20)

Android Fundamentals
Android FundamentalsAndroid Fundamentals
Android Fundamentals
 
Intents in Android
Intents in AndroidIntents in Android
Intents in Android
 
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
 
Android Lesson 3 - Intent
Android Lesson 3 - IntentAndroid Lesson 3 - Intent
Android Lesson 3 - Intent
 
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
 
Broadcast Receivers in Android
Broadcast Receivers in AndroidBroadcast Receivers in Android
Broadcast Receivers in Android
 
Android Fundamentals - Day 2
Android Fundamentals - Day 2Android Fundamentals - Day 2
Android Fundamentals - Day 2
 
Android app fundamentals
Android app fundamentalsAndroid app fundamentals
Android app fundamentals
 
Android Fundamentals
Android FundamentalsAndroid Fundamentals
Android Fundamentals
 
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
 
Gradle for Android Developers
Gradle for Android DevelopersGradle for Android Developers
Gradle for Android Developers
 
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, ...
 
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
 
Android gradle-build-system-overview
Android gradle-build-system-overviewAndroid gradle-build-system-overview
Android gradle-build-system-overview
 
Gradle & Android Studio - Introduction
Gradle & Android Studio - IntroductionGradle & Android Studio - Introduction
Gradle & Android Studio - Introduction
 
Events and Listeners in Android
Events and Listeners in AndroidEvents and Listeners in Android
Events and Listeners in Android
 
New to android studio
New to android studioNew to android studio
New to android studio
 
AndroidManifest
AndroidManifestAndroidManifest
AndroidManifest
 
Android Components & Manifest
Android Components & ManifestAndroid Components & Manifest
Android Components & Manifest
 
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
 

Similar to Android Application Fundamentals

Android project architecture
Android project architectureAndroid project architecture
Android project architecture
Sourabh Sahu
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
Sokngim Sa
 
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
 
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
 
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 application structure
Android application structureAndroid application structure
Android application structure
Alexey Ustenko
 
Android introduction
Android introductionAndroid introduction
Android introduction
PingLun Liao
 
Androidify workshop
Androidify workshopAndroidify workshop
Androidify workshop
Alexey Buzdin
 
Synapseindia android apps introduction hello world
Synapseindia android apps introduction hello worldSynapseindia android apps introduction hello world
Synapseindia android apps introduction hello world
Tarunsingh198
 

Similar to Android Application Fundamentals (20)

Android project architecture
Android project architectureAndroid project architecture
Android project architecture
 
03 android application structure
03 android application structure03 android application structure
03 android application structure
 
Android Resources.docx
Android Resources.docxAndroid Resources.docx
Android Resources.docx
 
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
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
 
Android structure
Android structureAndroid structure
Android structure
 
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 An Adroid Application Lecture 3.pptx
Anatomy Of An Adroid Application Lecture 3.pptxAnatomy Of An Adroid Application Lecture 3.pptx
Anatomy Of An Adroid Application Lecture 3.pptx
 
Android resource
Android resourceAndroid resource
Android resource
 
Android Programming.pptx
Android Programming.pptxAndroid Programming.pptx
Android Programming.pptx
 
Android resources in android-chapter9
Android resources in android-chapter9Android resources in android-chapter9
Android resources in android-chapter9
 
Engibrainz android syllabus
Engibrainz android syllabusEngibrainz android syllabus
Engibrainz android syllabus
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Android programming
Android programmingAndroid programming
Android programming
 
Android application development
Android application developmentAndroid application development
Android application development
 
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 application structure
Android application structureAndroid application structure
Android application structure
 
Android introduction
Android introductionAndroid introduction
Android introduction
 
Androidify workshop
Androidify workshopAndroidify workshop
Androidify workshop
 
Synapseindia android apps introduction hello world
Synapseindia android apps introduction hello worldSynapseindia android apps introduction hello world
Synapseindia android apps introduction hello world
 

Recently uploaded

Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
kalichargn70th171
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 

Recently uploaded (20)

Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
Why Mobile App Regression Testing is Critical for Sustained Success_ A Detail...
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 

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.