SlideShare a Scribd company logo
Introduction to Android basics
What is Android
• Android is a software platform which includes an
operating system, middleware and key
applications.
• The operating system is based on Linux and it is
developed by Google (Open Handset Alliance).
• The developers write managed code in a Java-like
language that utilizes Google-developed Java
libraries but it does not support programs in
native code.
Architecture of an Android
Application Layer
• Highest Layer in the Architecture
• Built-in standard applications
• -Phone Dialer
• -Email
• -Contacts
• -Web Browser
• -Android Market
Framework Layer
• The most important part of the framework are as
follows:
• Activity Manager
• Resource Manager
• Location Manager
• Notification Manager
Difference Between Java and C#
Architecture for Android
Android Software Development
1. REQUIREMENTS:
• Knowledge of programming in Java
• Knowledge of XML
• Android SDK
• Eclipse IDE with Android Development Tools (ADT)
plug-in.
• Android powered smartphone (for testing purposes)
Tools required for developing android
app:
 aapt - Android Asset Packaging Tool
 Creates .apk-files which contain all the resources as well as the program
itself. Those ZIP-format based files can be transferred to and installed on an
Android phone or the emulator.
 adb – Android Debug Bridge
 The main purpose of this tool is to set up connections to a real Android
device or an Android emulator instance in order to transfer and install
(apk)-files on it. With adb the developer also has the possibility to remote
control the devices shell.
 dx – Dalvik
 The dx is used for merging and converting Java-Standard-ByteCode Classes
(*.class) into one single binary file (.dex) that can be executed by the Dalvik
VM. These .dex-files are subject to be put into an .apk-file together with
resource files.
Application Fundamentals
• Application Components
– Activities
– Services
– Broadcast Receivers
– Content Providers
• Intents
Activities
• An activity presents a visual user interface for
one focused endeavor the user can undertake.
• The visual content of the window is provided
by a hierarchy of views.
– objects derived from the base View class.
• A view hierarchy is placed within an activity's
window by the Activity.setContentView()
method.
Services
• A Service does not have a visual interface and
runs in the background.
• Each service extends the Service base class.
• It's possible to connect to an ongoing service
and communicate it through the interface
exposed by that service.
BroadcastReceiver
• A broadcast receiver receive and react to
broadcast announcements.
• All receivers extend the BroadcastReceiver
base class.
• Many broadcasts originate in system code.
• Broadcast receivers do not display a user
interface but they can start an activity or alert
user.
ContentPorvider
• A content provider makes a specific set of the
application's data available to other
applications.
• All content providers extends the
ContentProvider base class.
• Content Providers are accessed through
ContentResolver object.
• Content Providers and Content Resolvers
enable inter-process communication (IPC)
Intent
• Intents are Asynchronous messages used to convey a request or
message.
• An intent is an object of Intent class that holds the content of the
message.
• Activities, Services and Broadcast Receivers are activated through
Intents.
• Intent can contain
• Component name
• Action
• Data
• Category
• Extras
• Flags
Activity Lifecycle
• An activity has essentially three states
• Active or Running
• Paused
• Stopped
• Activity Lifetime
• Entire Lifetime [onCreate() to onDestroy()]
• Visible Lifetime [onStart() to onStop()]
• Foreground Lifetime [onResume() to onPause()]
• An implementation of any activity lifecycle method
should always first call the superclass version
• onCreate(Bundle): This is called when the 1st Activity Startsup
• onStart(): This indicates the activity is about to display to the user
• onResume(): This is called when the activity can start interacting
with the user
• onPause(): This runs when and activity about to go to the
background
• onStop(): This is called when the activity is no longer visible to the
user
• onDestroy(): This is call right before your activity is destroyed, if
memory is tight onDestroy may never be called (The system will
may terminate you process)
Introduction to android basics

More Related Content

What's hot

01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
Siva Kumar reddy Vasipally
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
master760
 
Android Overview
Android OverviewAndroid Overview
Android Overview
Raju Kadam
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
Tripti Tiwari
 
Android Seminar
Android SeminarAndroid Seminar
Android Seminar
Ganesh Waghmare
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
Purvik Rana
 
Android Training - Part 2
Android Training - Part 2Android Training - Part 2
Android Training - Part 2
Tbldevelopment
 
Android Development in a Nutshell
Android Development in a NutshellAndroid Development in a Nutshell
Android Development in a Nutshell
Aleix Solé
 
Andriod_Intro
Andriod_IntroAndriod_Intro
Andriod_Intro
Purvik Rana
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
Ted Chien
 
Android Operating System Architecture
Android Operating System ArchitectureAndroid Operating System Architecture
Android Operating System Architecture
DINESH KUMAR ARIVARASAN
 
Andriod
Andriod Andriod
Andriod
Chayan Upadhyay
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
niteshnarayanlal
 
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
 
01 02 - introduction - adroid stack
01  02 - introduction - adroid stack01  02 - introduction - adroid stack
01 02 - introduction - adroid stack
Siva Kumar reddy Vasipally
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
Pietro Alberto Rossi
 
Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
poojapainter
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
krishnastudent88
 
Android primer
Android primerAndroid primer
Android primer
intellisenseit
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
Bhavya Siddappa
 

What's hot (20)

01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android Overview
Android OverviewAndroid Overview
Android Overview
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
 
Android Seminar
Android SeminarAndroid Seminar
Android Seminar
 
Android Workshop_1
Android Workshop_1Android Workshop_1
Android Workshop_1
 
Android Training - Part 2
Android Training - Part 2Android Training - Part 2
Android Training - Part 2
 
Android Development in a Nutshell
Android Development in a NutshellAndroid Development in a Nutshell
Android Development in a Nutshell
 
Andriod_Intro
Andriod_IntroAndriod_Intro
Andriod_Intro
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Android Operating System Architecture
Android Operating System ArchitectureAndroid Operating System Architecture
Android Operating System Architecture
 
Andriod
Andriod Andriod
Andriod
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
 
01 02 - introduction - adroid stack
01  02 - introduction - adroid stack01  02 - introduction - adroid stack
01 02 - introduction - adroid stack
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
 
Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android primer
Android primerAndroid primer
Android primer
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 

Viewers also liked

Learn Android app development in easy steps
Learn Android app development in easy stepsLearn Android app development in easy steps
Learn Android app development in easy steps
Mobile Pundits
 
Cognitive Vision - After the hype
Cognitive Vision - After the hypeCognitive Vision - After the hype
Cognitive Vision - After the hype
potaters
 
Basics of android
Basics of androidBasics of android
Basics of android
Arko Das
 
Android basics
Android basicsAndroid basics
Android basics
Syed Luqman Quadri
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
sabi_123
 
Introduction to Android development - CEC ISQIP 2014
Introduction to Android development -  CEC ISQIP 2014Introduction to Android development -  CEC ISQIP 2014
Introduction to Android development - CEC ISQIP 2014
Melson Zacharias
 
Android
AndroidAndroid
Android
lahiru7
 
Android Basics
Android BasicsAndroid Basics
Android Basics
Arvind Sahu
 
Cognitive architecture
Cognitive architectureCognitive architecture
Cognitive architecture
Hasam Panezai
 
Android Basics
Android BasicsAndroid Basics
Android Basics
Krushnakant Solanki
 
Google Android
Google AndroidGoogle Android
Google Android
Michael Angelo Rivera
 
Android Basics
Android BasicsAndroid Basics
Android Basics
St. Petersburg College
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
Aatul Palandurkar
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
Benny Skogberg
 
Android ppt
Android pptAndroid ppt
Android ppt
Ansh Singh
 
Android ppt
Android pptAndroid ppt
Android ppt
srikanth982
 

Viewers also liked (16)

Learn Android app development in easy steps
Learn Android app development in easy stepsLearn Android app development in easy steps
Learn Android app development in easy steps
 
Cognitive Vision - After the hype
Cognitive Vision - After the hypeCognitive Vision - After the hype
Cognitive Vision - After the hype
 
Basics of android
Basics of androidBasics of android
Basics of android
 
Android basics
Android basicsAndroid basics
Android basics
 
Basics of Android
Basics of Android Basics of Android
Basics of Android
 
Introduction to Android development - CEC ISQIP 2014
Introduction to Android development -  CEC ISQIP 2014Introduction to Android development -  CEC ISQIP 2014
Introduction to Android development - CEC ISQIP 2014
 
Android
AndroidAndroid
Android
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Cognitive architecture
Cognitive architectureCognitive architecture
Cognitive architecture
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Google Android
Google AndroidGoogle Android
Google Android
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android ppt
Android pptAndroid ppt
Android ppt
 

Similar to Introduction to android basics

Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
Boom Shukla
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 
Android architecture
Android architectureAndroid architecture
Android architecture
Deepa Rahul
 
Synapseindia android apps overview
Synapseindia android apps overviewSynapseindia android apps overview
Synapseindia android apps overview
Synapseindiappsdevelopment
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
Kelwin Yang
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
Anshul Sharma
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
Omolara Adejuwon
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android
Android Android
Android
Edureka!
 
Android application development
Android application developmentAndroid application development
Android application development
slidesuren
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
lzongren
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
Muhammad Sajid
 
Android OS and its Features
Android OS and its FeaturesAndroid OS and its Features
Android OS and its Features
Harshad Lokhande
 
Android 101
Android 101Android 101
Android 101
Pranay Airan
 
Chapter 1 Introduction to android.ppt pl
Chapter 1 Introduction to android.ppt plChapter 1 Introduction to android.ppt pl
Chapter 1 Introduction to android.ppt pl
ENBAKOMZAWUGA
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
DuckMa
 
Android dev tips
Android dev tipsAndroid dev tips
Android dev tips
Kanda Runapongsa Saikaew
 
Unit I- ANDROID OVERVIEW.ppt
Unit I- ANDROID OVERVIEW.pptUnit I- ANDROID OVERVIEW.ppt
Unit I- ANDROID OVERVIEW.ppt
dineshkumar periyasamy
 
Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
vin123456gangal
 
Learn Android at edureka!
Learn Android at edureka! Learn Android at edureka!
Learn Android at edureka!
Edureka!
 

Similar to Introduction to android basics (20)

Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Synapseindia android apps overview
Synapseindia android apps overviewSynapseindia android apps overview
Synapseindia android apps overview
 
Introduction to Android Development and Security
Introduction to Android Development and SecurityIntroduction to Android Development and Security
Introduction to Android Development and Security
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Android
Android Android
Android
 
Android application development
Android application developmentAndroid application development
Android application development
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Data Transfer between Activities & Databases
Data Transfer between Activities & DatabasesData Transfer between Activities & Databases
Data Transfer between Activities & Databases
 
Android OS and its Features
Android OS and its FeaturesAndroid OS and its Features
Android OS and its Features
 
Android 101
Android 101Android 101
Android 101
 
Chapter 1 Introduction to android.ppt pl
Chapter 1 Introduction to android.ppt plChapter 1 Introduction to android.ppt pl
Chapter 1 Introduction to android.ppt pl
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
 
Android dev tips
Android dev tipsAndroid dev tips
Android dev tips
 
Unit I- ANDROID OVERVIEW.ppt
Unit I- ANDROID OVERVIEW.pptUnit I- ANDROID OVERVIEW.ppt
Unit I- ANDROID OVERVIEW.ppt
 
Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
 
Learn Android at edureka!
Learn Android at edureka! Learn Android at edureka!
Learn Android at edureka!
 

More from Hasam Panezai

cog arch
cog archcog arch
cog arch
Hasam Panezai
 
Lecture application layer
Lecture application layerLecture application layer
Lecture application layer
Hasam Panezai
 
To lec 03
To lec 03To lec 03
To lec 03
Hasam Panezai
 
To lec 04
To lec 04To lec 04
To lec 04
Hasam Panezai
 
Lecture 1 4
Lecture 1 4Lecture 1 4
Lecture 1 4
Hasam Panezai
 
White box
White boxWhite box
White box
Hasam Panezai
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
Hasam Panezai
 
Lecture (coa)
Lecture (coa)Lecture (coa)
Lecture (coa)
Hasam Panezai
 

More from Hasam Panezai (8)

cog arch
cog archcog arch
cog arch
 
Lecture application layer
Lecture application layerLecture application layer
Lecture application layer
 
To lec 03
To lec 03To lec 03
To lec 03
 
To lec 04
To lec 04To lec 04
To lec 04
 
Lecture 1 4
Lecture 1 4Lecture 1 4
Lecture 1 4
 
White box
White boxWhite box
White box
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
 
Lecture (coa)
Lecture (coa)Lecture (coa)
Lecture (coa)
 

Recently uploaded

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 

Recently uploaded (20)

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 

Introduction to android basics

  • 2. What is Android • Android is a software platform which includes an operating system, middleware and key applications. • The operating system is based on Linux and it is developed by Google (Open Handset Alliance). • The developers write managed code in a Java-like language that utilizes Google-developed Java libraries but it does not support programs in native code.
  • 4. Application Layer • Highest Layer in the Architecture • Built-in standard applications • -Phone Dialer • -Email • -Contacts • -Web Browser • -Android Market
  • 5. Framework Layer • The most important part of the framework are as follows: • Activity Manager • Resource Manager • Location Manager • Notification Manager
  • 6. Difference Between Java and C# Architecture for Android
  • 7. Android Software Development 1. REQUIREMENTS: • Knowledge of programming in Java • Knowledge of XML • Android SDK • Eclipse IDE with Android Development Tools (ADT) plug-in. • Android powered smartphone (for testing purposes)
  • 8. Tools required for developing android app:  aapt - Android Asset Packaging Tool  Creates .apk-files which contain all the resources as well as the program itself. Those ZIP-format based files can be transferred to and installed on an Android phone or the emulator.  adb – Android Debug Bridge  The main purpose of this tool is to set up connections to a real Android device or an Android emulator instance in order to transfer and install (apk)-files on it. With adb the developer also has the possibility to remote control the devices shell.  dx – Dalvik  The dx is used for merging and converting Java-Standard-ByteCode Classes (*.class) into one single binary file (.dex) that can be executed by the Dalvik VM. These .dex-files are subject to be put into an .apk-file together with resource files.
  • 9. Application Fundamentals • Application Components – Activities – Services – Broadcast Receivers – Content Providers • Intents
  • 10. Activities • An activity presents a visual user interface for one focused endeavor the user can undertake. • The visual content of the window is provided by a hierarchy of views. – objects derived from the base View class. • A view hierarchy is placed within an activity's window by the Activity.setContentView() method.
  • 11. Services • A Service does not have a visual interface and runs in the background. • Each service extends the Service base class. • It's possible to connect to an ongoing service and communicate it through the interface exposed by that service.
  • 12. BroadcastReceiver • A broadcast receiver receive and react to broadcast announcements. • All receivers extend the BroadcastReceiver base class. • Many broadcasts originate in system code. • Broadcast receivers do not display a user interface but they can start an activity or alert user.
  • 13. ContentPorvider • A content provider makes a specific set of the application's data available to other applications. • All content providers extends the ContentProvider base class. • Content Providers are accessed through ContentResolver object. • Content Providers and Content Resolvers enable inter-process communication (IPC)
  • 14. Intent • Intents are Asynchronous messages used to convey a request or message. • An intent is an object of Intent class that holds the content of the message. • Activities, Services and Broadcast Receivers are activated through Intents. • Intent can contain • Component name • Action • Data • Category • Extras • Flags
  • 15. Activity Lifecycle • An activity has essentially three states • Active or Running • Paused • Stopped • Activity Lifetime • Entire Lifetime [onCreate() to onDestroy()] • Visible Lifetime [onStart() to onStop()] • Foreground Lifetime [onResume() to onPause()] • An implementation of any activity lifecycle method should always first call the superclass version
  • 16.
  • 17. • onCreate(Bundle): This is called when the 1st Activity Startsup • onStart(): This indicates the activity is about to display to the user • onResume(): This is called when the activity can start interacting with the user • onPause(): This runs when and activity about to go to the background • onStop(): This is called when the activity is no longer visible to the user • onDestroy(): This is call right before your activity is destroyed, if memory is tight onDestroy may never be called (The system will may terminate you process)