SlideShare ist ein Scribd-Unternehmen logo
1 von 27
About Me
Md.Delwar Hossain
B.Sc in CSE
Trainer, Android Apps Developer
Experience:
Trainer at Open IT, Computer Operator
Professional Course:
BASIS,EATL,APPSO,Google Android
Author:
অ্যান্ড্রয়েডঅ্যাপ্স ডডয়েলপয়েন্ট(Pending)
Bookbd.com,জ্ঞানয় াষ প্র াশনী
Contact Me
Gmail: androidvive5@gmail.com
Phone: 01673648918
Skype: delwar.shuvo
Facebook: Shuvo Delwar
Android
 Android is a complete set of software for mobile
devices such as tablet computers, notebooks,
smartphones, electronic book readers, set-top
boxes etc.
 It contains a linux-based Operating System,
middleware and key mobile applications.
What is Android?
 Android is a software package and linux based
operating system for mobile devices such as tablet
computers and smartphones.
 It is developed by Google and later the OHA (Open
Handset Alliance). Java language is mainly used to
write the android code even though other
languages can be used.
What is Open Handset Alliance (OHA)
 It's a consortium of 84 companies such as google,
samsung, AKM, synaptics, KDDI, Garmin, Teleca,
Ebay, Intel etc.
 It was established on 5th November, 2007, led by
Google. It is committed to advance open
standards, provide services and deploy handsets
using the Android Plateform.
Features of Android
1) It is open-source.
2) Anyone can customize the Android Platform.
3) There are a lot of mobile applications that can be
chosen by the consumer.
4) It provides many interesting features like weather
details, opening screen, live RSS (Really Simple
Syndication) feeds etc.
5) It provides support for messaging services(SMS
and MMS), web browser, storage (SQLite),
connectivity (GSM, CDMA, Blue Tooth, Wi-Fi etc.),
media, handset layout etc.
Categories of Android applications
 Entertainment
 Tools
 Communication
 Productivity
 Personalization
 Music and Audio
 Social
 Media and Video
 Travel and Local etc.
Android Versions, Codename and API
Android Architecture
Android architecture or Android software stack
is categorized into five parts:
1. linux kernel
2. native libraries (middleware),
3. Android Runtime
4. Application Framework
5. Applications
Let's see the android architecture first.
Android Architecture
1) Linux kernel
 It is the heart of android architecture that
exists at the root of android architecture.
Linux kernel is responsible for device
drivers, power management, memory
management, device management and
resource access.
2) Native Libraries
 On the top of linux kernel, their are Native libraries
such as WebKit, OpenGL, FreeType, SQLite,
Media, C runtime library (libc) etc.
 The WebKit library is responsible for browser
support, SQLite is for database, FreeType for font
support, Media for playing and recording audio and
video formats.
3) Android Runtime
 In android runtime, there are core libraries
and DVM (Dalvik Virtual Machine) which is
responsible to run android application. DVM
is like JVM but it is optimized for mobile
devices. It consumes less memory and
provides fast performance.
4) Android Framework
 On the top of Native libraries and android
runtime, there is android framework.
Android framework includes Android API's
such as UI (User Interface), telephony,
resources, locations, Content Providers
(data) and package managers. It provides a
lot of classes and interfaces for android
application development.
5) Applications
 On the top of android framework, there are
applications. All applications such as home,
contact, settings, games, browsers are
using android framework that uses android
runtime and libraries. Android runtime and
native libraries are using linux kernal.
Android Core Building Blocks
 The core building blocks or fundamental
components of android are activities,
views, intents, services, content providers,
fragments and AndroidManifest.xml.
Android Core Building Blocks
 Activity
An activity is a class that represents a
single screen. It is like a Frame in AWT.
 View
A view is the UI element such as button,
label, text field etc. Anything that you see is
a view.
Android Core Building Blocks
Intent
 Intent is used to invoke components. It is
mainly used to:
 Start the service
 Launch an activity
 Display a web page
 Display a list of contacts
 Broadcast a message
 Dial a phone call etc.
Android Core Building Blocks
 Service
Service is a background process that can
run for a long time.
There are two types of services local and
remote. Local service is accessed from
within the application whereas remote
service is accessed remotely from other
applications running on the same device.
 Content Provider
Content Providers are used to share data
between the applications.
Android Core Building Blocks
 Fragment
Fragments are like parts of activity. An activity
can display one or more fragments on the
screen at the same time.
 AndroidManifest.xml
It contains information's about activities,
content providers, permissions etc. It is like the
web.xml file in Java EE.
 Android Virtual Device (AVD)
It is used to test the android application without
the need for mobile or tablet etc. It can be
created in different configurations to emulate
different types of real devices.
Install Android
 Android supports java, c++, c# etc.
language to develop android applications.
Java is the officially supported language for
android. All the android examples of this
site is developed using Java language and
Eclipse IDE.
Install Android
 Install the JDK
 Download and Install the android SDK
 Download Android Studio
 http://developer.android.com/index.html
 Create the AVD Create the hello android
application
AndroidManifest.xml file in android
It performs some other tasks also:
 It is responsible to protect the application to
access any protected parts by providing the
permissions.
 It also declares the android api that the
application is going to use.
 It lists the instrumentation classes. The
instrumentation classes provides profiling and
other information's. These information's are
removed just before the application is published
etc.
 This is the required xml file for all the android
application and located inside the root directory.
Android Hide Title Bar Example
 The requestWindowFeature(Window.FEATURE_NO_TITLE)
method of Activity must be called to hide the title. But, it must be
coded before the setContentView method.
 The setFlags() method of Window class is used to display content
in full screen mode. You need to pass the
WindowManager.LayoutParams.FLAG_FULLSCREEN
constant in the setFlags method.
Android Hide Title Bar Example
Android Screen Orientation
 The screenOrientation is the attribute of activity
element. The orientation of android activity can be
portrait, landscape, sensor, unspecified etc. You
need to define it in the AndroidManifest.xml file. For
example:
Android Basic Concept

Weitere ähnliche Inhalte

Was ist angesagt?

A deep dive into Android OpenSource Project(AOSP)
A deep dive into Android OpenSource Project(AOSP)A deep dive into Android OpenSource Project(AOSP)
A deep dive into Android OpenSource Project(AOSP)Siji Sunny
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application DevelopmentBenny Skogberg
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my collegeSneha Lata
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Developmentdonnfelker
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentAly Abdelkareem
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating systemSalma Begum
 
Android Presentation
Android Presentation Android Presentation
Android Presentation prasanth82
 
Versions of Android OS
Versions of Android OSVersions of Android OS
Versions of Android OSHaseeb
 
Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndreas Jakl
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 
Android application development ppt
Android application development pptAndroid application development ppt
Android application development pptGautam Kumar
 
Mobile Operating System
Mobile Operating SystemMobile Operating System
Mobile Operating SystemSonal Poddar
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android ApplicationsAshish Agarwal
 

Was ist angesagt? (20)

A deep dive into Android OpenSource Project(AOSP)
A deep dive into Android OpenSource Project(AOSP)A deep dive into Android OpenSource Project(AOSP)
A deep dive into Android OpenSource Project(AOSP)
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my college
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating system
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android Presentation
Android Presentation Android Presentation
Android Presentation
 
Ios development
Ios developmentIos development
Ios development
 
Versions of Android OS
Versions of Android OSVersions of Android OS
Versions of Android OS
 
Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - Introduction
 
Android history
Android historyAndroid history
Android history
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
PPT on iOS
PPT on iOS PPT on iOS
PPT on iOS
 
Android application development ppt
Android application development pptAndroid application development ppt
Android application development ppt
 
Mobile Operating System
Mobile Operating SystemMobile Operating System
Mobile Operating System
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android Applications
 
Mobile operating systems
Mobile operating systemsMobile operating systems
Mobile operating systems
 

Andere mochten auch

Principles of temperature measurement
Principles of temperature measurementPrinciples of temperature measurement
Principles of temperature measurementUniversity of Potsdam
 
Tempertureing measuring device
Tempertureing measuring deviceTempertureing measuring device
Tempertureing measuring deviceAmbrish Rai
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net frameworkArun Prasad
 
Temperature measurement ppt
Temperature measurement pptTemperature measurement ppt
Temperature measurement pptAVISHEK KUMAR
 

Andere mochten auch (7)

Principles of temperature measurement
Principles of temperature measurementPrinciples of temperature measurement
Principles of temperature measurement
 
Temperature measurement
Temperature measurementTemperature measurement
Temperature measurement
 
Tempertureing measuring device
Tempertureing measuring deviceTempertureing measuring device
Tempertureing measuring device
 
Design and Concepts of Android Graphics
Design and Concepts of Android GraphicsDesign and Concepts of Android Graphics
Design and Concepts of Android Graphics
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 
Temperature measurement ppt
Temperature measurement pptTemperature measurement ppt
Temperature measurement ppt
 
Android Basic Components
Android Basic ComponentsAndroid Basic Components
Android Basic Components
 

Ähnlich wie Android Basic Concept

Android tutorial
Android tutorialAndroid tutorial
Android tutorialAjai Kumar
 
Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Awardpravinmali2191
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 
Android development training programme Day 1
Android development training programme Day 1Android development training programme Day 1
Android development training programme Day 1DHIRAJ PRAVIN
 
Android OS and application development
Android OS and application developmentAndroid OS and application development
Android OS and application developmentLokesh Kumar
 
Android Development - Session 2
Android Development - Session 2Android Development - Session 2
Android Development - Session 2Mohammad Shaker
 
Android Development - Session 1
Android Development - Session 1Android Development - Session 1
Android Development - Session 1Mohammad Shaker
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1Kainda Kiniel Daka
 
Android introduction
Android introductionAndroid introduction
Android introductionmcanotes
 
Evolution of Android Operating System and it’s Versions
Evolution of Android Operating System and it’s VersionsEvolution of Android Operating System and it’s Versions
Evolution of Android Operating System and it’s Versionsijtsrd
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paperSravan Reddy
 
Android developer uk and its related information
Android developer uk and its related informationAndroid developer uk and its related information
Android developer uk and its related informationXAMARIN Developer in London
 

Ähnlich wie Android Basic Concept (20)

Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Award
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Android development training programme Day 1
Android development training programme Day 1Android development training programme Day 1
Android development training programme Day 1
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android OS and application development
Android OS and application developmentAndroid OS and application development
Android OS and application development
 
Android Development - Session 2
Android Development - Session 2Android Development - Session 2
Android Development - Session 2
 
Android Development - Session 1
Android Development - Session 1Android Development - Session 1
Android Development - Session 1
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
 
What is Android
What is Android What is Android
What is Android
 
Android introduction
Android introductionAndroid introduction
Android introduction
 
Evolution of Android Operating System and it’s Versions
Evolution of Android Operating System and it’s VersionsEvolution of Android Operating System and it’s Versions
Evolution of Android Operating System and it’s Versions
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
Android
Android Android
Android
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
 
Android platform
Android platform Android platform
Android platform
 
Android developer uk and its related information
Android developer uk and its related informationAndroid developer uk and its related information
Android developer uk and its related information
 
Best Android Course
Best Android CourseBest Android Course
Best Android Course
 

Mehr von University of Potsdam (20)

Computer fundamentals 01
Computer fundamentals 01Computer fundamentals 01
Computer fundamentals 01
 
Workshop on android apps development
Workshop on android apps developmentWorkshop on android apps development
Workshop on android apps development
 
Transparency and concurrency
Transparency and concurrencyTransparency and concurrency
Transparency and concurrency
 
Database System Architecture
Database System ArchitectureDatabase System Architecture
Database System Architecture
 
Functional dependency and normalization
Functional dependency and normalizationFunctional dependency and normalization
Functional dependency and normalization
 
indexing and hashing
indexing and hashingindexing and hashing
indexing and hashing
 
data recovery-raid
data recovery-raiddata recovery-raid
data recovery-raid
 
Query processing
Query processingQuery processing
Query processing
 
Machine Learning for Data Mining
Machine Learning for Data MiningMachine Learning for Data Mining
Machine Learning for Data Mining
 
Tree, function and graph
Tree, function and graphTree, function and graph
Tree, function and graph
 
Sonet
SonetSonet
Sonet
 
Sets in discrete mathematics
Sets in discrete mathematicsSets in discrete mathematics
Sets in discrete mathematics
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Series parallel ac rlc networks
Series parallel ac rlc networksSeries parallel ac rlc networks
Series parallel ac rlc networks
 
Series parallel ac networks
Series parallel ac networksSeries parallel ac networks
Series parallel ac networks
 
Relations
RelationsRelations
Relations
 
Relations
RelationsRelations
Relations
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Prim algorithm
Prim algorithmPrim algorithm
Prim algorithm
 

Kürzlich hochgeladen

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 

Kürzlich hochgeladen (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 

Android Basic Concept

  • 1. About Me Md.Delwar Hossain B.Sc in CSE Trainer, Android Apps Developer Experience: Trainer at Open IT, Computer Operator Professional Course: BASIS,EATL,APPSO,Google Android Author: অ্যান্ড্রয়েডঅ্যাপ্স ডডয়েলপয়েন্ট(Pending) Bookbd.com,জ্ঞানয় াষ প্র াশনী
  • 2. Contact Me Gmail: androidvive5@gmail.com Phone: 01673648918 Skype: delwar.shuvo Facebook: Shuvo Delwar
  • 3. Android  Android is a complete set of software for mobile devices such as tablet computers, notebooks, smartphones, electronic book readers, set-top boxes etc.  It contains a linux-based Operating System, middleware and key mobile applications.
  • 4. What is Android?  Android is a software package and linux based operating system for mobile devices such as tablet computers and smartphones.  It is developed by Google and later the OHA (Open Handset Alliance). Java language is mainly used to write the android code even though other languages can be used.
  • 5. What is Open Handset Alliance (OHA)  It's a consortium of 84 companies such as google, samsung, AKM, synaptics, KDDI, Garmin, Teleca, Ebay, Intel etc.  It was established on 5th November, 2007, led by Google. It is committed to advance open standards, provide services and deploy handsets using the Android Plateform.
  • 6. Features of Android 1) It is open-source. 2) Anyone can customize the Android Platform. 3) There are a lot of mobile applications that can be chosen by the consumer. 4) It provides many interesting features like weather details, opening screen, live RSS (Really Simple Syndication) feeds etc. 5) It provides support for messaging services(SMS and MMS), web browser, storage (SQLite), connectivity (GSM, CDMA, Blue Tooth, Wi-Fi etc.), media, handset layout etc.
  • 7. Categories of Android applications  Entertainment  Tools  Communication  Productivity  Personalization  Music and Audio  Social  Media and Video  Travel and Local etc.
  • 9. Android Architecture Android architecture or Android software stack is categorized into five parts: 1. linux kernel 2. native libraries (middleware), 3. Android Runtime 4. Application Framework 5. Applications Let's see the android architecture first.
  • 11. 1) Linux kernel  It is the heart of android architecture that exists at the root of android architecture. Linux kernel is responsible for device drivers, power management, memory management, device management and resource access.
  • 12. 2) Native Libraries  On the top of linux kernel, their are Native libraries such as WebKit, OpenGL, FreeType, SQLite, Media, C runtime library (libc) etc.  The WebKit library is responsible for browser support, SQLite is for database, FreeType for font support, Media for playing and recording audio and video formats.
  • 13. 3) Android Runtime  In android runtime, there are core libraries and DVM (Dalvik Virtual Machine) which is responsible to run android application. DVM is like JVM but it is optimized for mobile devices. It consumes less memory and provides fast performance.
  • 14. 4) Android Framework  On the top of Native libraries and android runtime, there is android framework. Android framework includes Android API's such as UI (User Interface), telephony, resources, locations, Content Providers (data) and package managers. It provides a lot of classes and interfaces for android application development.
  • 15. 5) Applications  On the top of android framework, there are applications. All applications such as home, contact, settings, games, browsers are using android framework that uses android runtime and libraries. Android runtime and native libraries are using linux kernal.
  • 16. Android Core Building Blocks  The core building blocks or fundamental components of android are activities, views, intents, services, content providers, fragments and AndroidManifest.xml.
  • 17. Android Core Building Blocks  Activity An activity is a class that represents a single screen. It is like a Frame in AWT.  View A view is the UI element such as button, label, text field etc. Anything that you see is a view.
  • 18. Android Core Building Blocks Intent  Intent is used to invoke components. It is mainly used to:  Start the service  Launch an activity  Display a web page  Display a list of contacts  Broadcast a message  Dial a phone call etc.
  • 19. Android Core Building Blocks  Service Service is a background process that can run for a long time. There are two types of services local and remote. Local service is accessed from within the application whereas remote service is accessed remotely from other applications running on the same device.  Content Provider Content Providers are used to share data between the applications.
  • 20. Android Core Building Blocks  Fragment Fragments are like parts of activity. An activity can display one or more fragments on the screen at the same time.  AndroidManifest.xml It contains information's about activities, content providers, permissions etc. It is like the web.xml file in Java EE.  Android Virtual Device (AVD) It is used to test the android application without the need for mobile or tablet etc. It can be created in different configurations to emulate different types of real devices.
  • 21. Install Android  Android supports java, c++, c# etc. language to develop android applications. Java is the officially supported language for android. All the android examples of this site is developed using Java language and Eclipse IDE.
  • 22. Install Android  Install the JDK  Download and Install the android SDK  Download Android Studio  http://developer.android.com/index.html  Create the AVD Create the hello android application
  • 23. AndroidManifest.xml file in android It performs some other tasks also:  It is responsible to protect the application to access any protected parts by providing the permissions.  It also declares the android api that the application is going to use.  It lists the instrumentation classes. The instrumentation classes provides profiling and other information's. These information's are removed just before the application is published etc.  This is the required xml file for all the android application and located inside the root directory.
  • 24. Android Hide Title Bar Example  The requestWindowFeature(Window.FEATURE_NO_TITLE) method of Activity must be called to hide the title. But, it must be coded before the setContentView method.  The setFlags() method of Window class is used to display content in full screen mode. You need to pass the WindowManager.LayoutParams.FLAG_FULLSCREEN constant in the setFlags method.
  • 25. Android Hide Title Bar Example
  • 26. Android Screen Orientation  The screenOrientation is the attribute of activity element. The orientation of android activity can be portrait, landscape, sensor, unspecified etc. You need to define it in the AndroidManifest.xml file. For example: