SlideShare a Scribd company logo
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 1
Unit 1- Android and its Tools
Course Outcome:
Interpret features of Android operating system.
Unit Outcomes:
1a. Explain the given basic terms related to Android system.
1b. Explain with sketches Android architecture for the given application.
1c. Identify tools and software required for developing the given Android application
with justification.
---------------------------------------------------------------------------------------------------------------
Contents:
1.1 Introduction to android, Open Handset Alliance, Android Ecosystem
1.2 Need of Android, Features of Android
1.3 Tools and software required for developing an Android Application
1.4 Android Architecture
---------------------------------------------------------------------------------------------------------------
1.1 Introduction to android, Open Handset Alliance, Android Ecosystem
Introduction to android
 Android is an open source operating system based on Linux with a Java
programming interface for mobile devices such as Smartphone (Touch Screen
Devices who supports Android OS) as well for Tablets too.
 The operating system has developed a lot in last 15 years starting from black and
white phones to recent smart phones or mini computers. One of the most widely
used mobile OS these days is android.
 The android is a powerful operating system and it supports large number of
applications in Smartphones.
What is Android?
Android is a stack of software for mobile devices that are an Operating System,
Middleware and Key Applications.
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 2 Arvind S. Sardar
Figure 1.1: Android Operating System
 Android is a Linux-based operating system which is designed for touchscreen mobile
devices like smartphones and tablet computers.
 It is an open source technology that allows the software to be freely modified and
distributed by device manufacturers, wireless carriers and developers.
 Android was unveiled during 2007 along with the founding of the Open Handset
Alliance.
Open Handset Alliance
The Open Handset Alliance (OHA) is a association whose goal is to develop
open standards for mobile devices, promote innovation in mobile phones and provide a
better experience for consumers at a lower cost.
The OHA is the group that is in charge of the Android smartphones operating system. It
was created by Google.
The Open Handset Alliance (OHA) is consortium of multiple companies like Samsung,
Sony, Intel and many more to provide services and deploy handsets using android
platform.
Android Ecosystem
Ecosystem in Market terminology refers to the inter-dependence between demand and
supply.
In the Android ecosystem this translates to inter-dependence between users, developers,
and equipment makers. One cannot exist without the other:
 Users- buy devices and applications
 Equipment makers- sell devices, sometimes bundled with applications
 Developers- buy devices, then make and sell applications
OperatingSystem
Middleware
Key Applications
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 3 Arvind S. Sardar
1.2 Need of Android, Features of Android
Need of Android
There are so many reasons you should choose Android platform for mobile application
development.
1. Zero/negligible development cost
The development tools like Android SDK, JDK, and Eclipse IDE etc. are free to download
for the android mobile application development. Also Google charge a small fee $25, to
distribute your mobile app on the Android Market.
2. Open Source
The Android OS is an open-source platform based onthe Linux kernel and multiple open-
source libraries. In this way developers are free to contribute or extend the platform as
necessary for building mobile apps which run on Android devices.
3. Multi-Platform Support
In market, there are a wide range of hardware devices powered by the Android OS,
including many different phones and tablet. Even development of android mobile apps
can occur on Windows, Mac OS or Linux.
4. Multi-Carrier Support
World wide a large number of telecom carriers like Airtel, Vodafone, Idea Cellular, AT&T
Mobility, BSNL etc. are supporting Android powered phones.
5. Open Distribution Model
Android Market place (Google Play store) has very few restrictions on the content or
functionality ofan androidapp.So the developercandistribute theirsapp through Google
Play store and as well other distribution channels like Amazon’s app store.
Features of Android
There are numerous features of android. Some of them are listed below:
Feature Description
Connectivity Android supports multiple connectivity technologies including
GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth, Wi-Fi, LTE, NFC and
WiMAX
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 4 Arvind S. Sardar
Storage
Media
support
Web
browser
Messaging
Multi-
tasking
Resizable
widgets
Multi-touch
Wi-Fi
Screen
capture
Android
Beam
Multi-
Language
SQLite, a lightweight relational database,is usedfor data storagepurposes
Android supports various type of audio/video/still media formats like:
H.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC, AAC 5.1, MP3,
MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF, BMP and WebP
The web browser available in Android is based on the open-source Blink
(previously WebKit) layout engine, coupled with Chrome's V8 JavaScript
engine supporting HTML5 and CSS3
SMS and MMS are available forms of messaging, it also include threaded
text messaging and Android Cloud To Device Messaging (C2DM) and now
support the enhanced version of C2DM, Android Google Cloud Messaging
(GCM) is also a part of Android Push Messaging services
Multitasking of applications, with unique handling of memory allocation,
is available, using this user can jump from one task to another and at the
same time various application can run simultaneously
Widgets are re-sizable, so users can expand them to show morecontent or
shrink them to save space
Android has native support for multi-touch which was initially made
available in handsets such as the HTC Hero
A technology that lets apps discover and pair directly, over a high-
bandwidth peer-to-peer connection.
Android supports capturing a screenshot by pressing the power and
home-screen buttons at the same time. This features supports after
Android 4.0
A popular NFC-based technology that lets users instantly share, just by
touching two NFC-enabled phones together
Android supports multiple languages, also supports single direction and
bi-directional text
1.3 Tools and software required for developing an Android Application
The android developer tools let you create interactive and powerful application for
android platform. The tools can be generally categorized into two types.
 SDK tools
 Platform tools
SDK tools
SDK tools are generally platform independent and are required no matter which
android platform you are working on. When you install the Android SDK into your
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 5 Arvind S. Sardar
system, these tools get automatically installed. The list of SDK tools has been given
below −
Sr.
No
Tool & description
1 android
This tool lets you manage AVDs, projects, and the installed components of the SDK
2 ddms
This tool lets you debug Android applications
3 Draw 9-Patch
This tool allows you to easily create a NinePatch graphic using a WYSIWYG editor
4 emulator
This tools let you test your applications without using a physical device
5 mksdcard
Helps you create a disk image (external sdcard storage) that you can use with the
emulator
6 proguard
Shrinks, optimizes, and obfuscates your code by removing unused code
7 sqlite3
Lets you access the SQLite data files created and used by Android applications
8 traceview
Provides a graphical viewer for execution logs saved by your application
9 Adb
Android Debug Bridge (adb) is a versatile command line tool that lets you
communicate with an emulator instance or connected Android-powered device.
Three important tools are android, ddms and sqlite3.
1. Android
Android is a development tool that lets you perform these tasks:
 Manage Android Virtual Devices (AVD)
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 6 Arvind S. Sardar
 Create and update Android projects
 Update your sdk with new platform add-ons and documentation
2. DDMS
DDMSstandsforDalvik debugmonitor serverthat providesmany services onthe device.
The service could include message formation, call spoofing, capturing screenshot,
exploring internal threads and file systems etc.
3. Sqlite3
 Sqlite3 is a command line program which is used to manage the SQLite databases
created by Android applications. The tool also allows us to executethe SQL
statements on the fly.
 There are two ways through which you can use SQLite, either from remote shell
or you can use locally.
Platform tools
 The platform tools are customized to support the features of the latest android
platform.
 The platform tools are typically updated every time you install a new SDK
platform. Each update of the platform tools is backward compatible with older
platforms.
 Some of the platform tools are listd below −
 Android Debug bridge (ADB)
 Android Interface definition language (AIDL)
 aapt, dexdump and dex etc.
Running DDMS
From Android studio click on Tools>Android>Android device Monitor.
How it works
 In android, each application runs in its own process and each process run in the
virtual machine. Each VM exposes a unique port, that a debugger can attach to.
 When DDMS starts, it connects to adb. When a device is connected, a VM
monitoring service is created between adb and DDMS, which notifies DDMS when
a VM on the device is started or terminated.
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 7 Arvind S. Sardar
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
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
1.4 Android Architecture
Figure: Android Architecture
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 8 Arvind S. Sardar
Running on the top of the kernel, the Android framework was developed with various
features. It consists of various C/C++ core libraries with numerous of open source tools.
Some of these are:
1. The Android runtime:
The Android runtime consist of core libraries of Java and ART(the Android
RunTime). Older versions of Android (4.x and earlier) had Dalvik runtime.
2. Open GL(graphics library):
This cross-language, cross-platform application program interface (API) is used to
produce 2D and 3D computer graphics.
3. WebKit:
This open source web browser engine provides all the functionality to display web
content and to simplify page loading.
4. Media frameworks:
These libraries allow you to play and record audio and video.
5. Secure Socket Layer (SSL):
These libraries are there for Internet security.
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 packagemanagers. It providesa lot ofclasses and
interfaces for android application development.
1. Activity Manager:
It manages the activity lifecycle and the activity stack.
2. Telephony Manager:
It provides access to telephony services as related subscriber information, such as
phone numbers.
3. View System:
It builds the user interface by handling the views and layouts.
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 9 Arvind S. Sardar
4. Location manager:
It finds the device’s geographic location.
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.
Terminologies Related to Android
1. XML
In Android, XML is used for designing the application’s UI like creating layouts, views,
buttons, text fields etc. and also used in parsing data feeds from the internet.
2. View
A view is an UI which occupies rectangular area on the screen to draw and handle user
events.
3. Layout
Layout is the parent of view. It arranges all the views in a proper manner on the screen.
4. Activity
An activity can be referred as your device’s screen which you see. User can place UI
elements in any order in the created window of user’s choice.
5. Emulator
An emulator is an Androidvirtual device throughwhich you canselect the target Android
version or platform to run and test your developed application.
6. Manifest file
Manifest file acts as a metadata for every application. This file contains all the essential
information aboutthe application like appicon, appname, launcher activity, and required
permissions etc.
7. Service
Service is an application component that can be used for long-running background
processes. It is not bounded with any activity as there is no UI. Any other application
component can start a service and this service will continue to run even when the user
switches from one application to another.
8. Broadcast Receiver
Mobile Application Development Unit 1- Android and its Tools
Department of Computer Engineering 10 Arvind S. Sardar
Broadcast Receiver is another building block of Android application development which
allows youto registerforsystem andapplication events. It works in sucha way that, when
the event triggers for the first time all the registered receivers through this broadcast
receiver will get notified for all the events by Android Runtime. To know more about the
broadcast receivers, kindly refer Android Basic Building Blocks.
9. Content Providers
Content Providers are used to share data between two applications. This can be
implemented in two ways:
1. When you want to implement the existing content provider in another application.
2. When you want to create a new content provider that can share its data with other
applications
10. Intent
Intent is a messaging object which can be used to communicate between two or more
components like activities, services, broadcast receiver etc. Intent can also be used to
start an activity or service or to deliver a broadcast message.
Ad

More Related Content

What's hot (20)

Events in Multimedia - Theory, Model, Application
Events in Multimedia - Theory, Model, ApplicationEvents in Multimedia - Theory, Model, Application
Events in Multimedia - Theory, Model, Application
Ansgar Scherp
 
FPGA on the Cloud
FPGA on the Cloud FPGA on the Cloud
FPGA on the Cloud
jtsagata
 
Holographic data Storage
Holographic data StorageHolographic data Storage
Holographic data Storage
ZaraMudassir
 
Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)
Moe Moe Myint
 
Chapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded SystemChapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded System
Moe Moe Myint
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
RajalakshmiSermadurai
 
Multimedia Input Devices
Multimedia Input DevicesMultimedia Input Devices
Multimedia Input Devices
Tamanna Sehgal
 
Raspberry Pi ppt.pptx
Raspberry Pi ppt.pptxRaspberry Pi ppt.pptx
Raspberry Pi ppt.pptx
ushabharathisb1
 
Timers and pwm
Timers and pwmTimers and pwm
Timers and pwm
Saideep Kamishetty
 
Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)
Moe Moe Myint
 
EMBEDDED SYSTEM
EMBEDDED  SYSTEMEMBEDDED  SYSTEM
EMBEDDED SYSTEM
AIRTEL
 
Motherboard presentation it
Motherboard presentation itMotherboard presentation it
Motherboard presentation it
crowellcale
 
hdtv ppt slide
hdtv ppt slidehdtv ppt slide
hdtv ppt slide
cswati
 
System On Chip (SOC)
System On Chip (SOC)System On Chip (SOC)
System On Chip (SOC)
Shivam Gupta
 
Embedded Systems using Microwave oven
Embedded Systems using  Microwave ovenEmbedded Systems using  Microwave oven
Embedded Systems using Microwave oven
BOOMIKAD
 
Core of the ES
Core of the ESCore of the ES
Core of the ES
VijayKumar5738
 
FAT vs NTFS
FAT vs NTFSFAT vs NTFS
FAT vs NTFS
Arshad Qureshi
 
computer past present future
computer past present futurecomputer past present future
computer past present future
dheva B
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
sambhenilesh
 
Bios
BiosBios
Bios
Ivan Chkalov
 
Events in Multimedia - Theory, Model, Application
Events in Multimedia - Theory, Model, ApplicationEvents in Multimedia - Theory, Model, Application
Events in Multimedia - Theory, Model, Application
Ansgar Scherp
 
FPGA on the Cloud
FPGA on the Cloud FPGA on the Cloud
FPGA on the Cloud
jtsagata
 
Holographic data Storage
Holographic data StorageHolographic data Storage
Holographic data Storage
ZaraMudassir
 
Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)Introduction to Embedded System I: Chapter 2 (5th portion)
Introduction to Embedded System I: Chapter 2 (5th portion)
Moe Moe Myint
 
Chapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded SystemChapter 3 Charateristics and Quality Attributes of Embedded System
Chapter 3 Charateristics and Quality Attributes of Embedded System
Moe Moe Myint
 
Multimedia Input Devices
Multimedia Input DevicesMultimedia Input Devices
Multimedia Input Devices
Tamanna Sehgal
 
Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)
Moe Moe Myint
 
EMBEDDED SYSTEM
EMBEDDED  SYSTEMEMBEDDED  SYSTEM
EMBEDDED SYSTEM
AIRTEL
 
Motherboard presentation it
Motherboard presentation itMotherboard presentation it
Motherboard presentation it
crowellcale
 
hdtv ppt slide
hdtv ppt slidehdtv ppt slide
hdtv ppt slide
cswati
 
System On Chip (SOC)
System On Chip (SOC)System On Chip (SOC)
System On Chip (SOC)
Shivam Gupta
 
Embedded Systems using Microwave oven
Embedded Systems using  Microwave ovenEmbedded Systems using  Microwave oven
Embedded Systems using Microwave oven
BOOMIKAD
 
computer past present future
computer past present futurecomputer past present future
computer past present future
dheva B
 
Multimedia- How Internet Works
Multimedia- How Internet WorksMultimedia- How Internet Works
Multimedia- How Internet Works
sambhenilesh
 

Similar to Unit 1-android-and-its-tools-ass (20)

Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Award
pravinmali2191
 
20IT601PE - Mobile Application Development PPT.pdf
20IT601PE - Mobile Application Development PPT.pdf20IT601PE - Mobile Application Development PPT.pdf
20IT601PE - Mobile Application Development PPT.pdf
vani15332
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdf
AbdullahMunir32
 
Mobile Android and Network
Mobile Android and NetworkMobile Android and Network
Mobile Android and Network
Padma Sankar
 
Android
AndroidAndroid
Android
Dr. Ramkumar Lakshminarayanan
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
Akash Bisariya
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, android
Jehad2012
 
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
ijtsrd
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
Nandkishor Kumawat
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
Swapnali Pawar
 
Android introduction
Android introductionAndroid introduction
Android introduction
Reena Nachare
 
An brief introduction to android operating system
An brief introduction to android operating systemAn brief introduction to android operating system
An brief introduction to android operating system
Alexander Decker
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In Chandigarh
Excellence Academy
 
Android architecture
Android architectureAndroid architecture
Android architecture
Saurabh Kukreja
 
Consumer Electronics
Consumer ElectronicsConsumer Electronics
Consumer Electronics
GirishBasole
 
Getting started with android
Getting started with androidGetting started with android
Getting started with android
amitgb
 
mobile application using flutter and android studio
mobile application using flutter and android studiomobile application using flutter and android studio
mobile application using flutter and android studio
abdibedilu2
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
ABHISHEK DINKAR
 
Software training report
Software training reportSoftware training report
Software training report
Natasha Bains
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
Sravan Reddy
 
Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Award
pravinmali2191
 
20IT601PE - Mobile Application Development PPT.pdf
20IT601PE - Mobile Application Development PPT.pdf20IT601PE - Mobile Application Development PPT.pdf
20IT601PE - Mobile Application Development PPT.pdf
vani15332
 
Mobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdfMobile Application Development-Lecture 03 & 04.pdf
Mobile Application Development-Lecture 03 & 04.pdf
AbdullahMunir32
 
Mobile Android and Network
Mobile Android and NetworkMobile Android and Network
Mobile Android and Network
Padma Sankar
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
Akash Bisariya
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, android
Jehad2012
 
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
ijtsrd
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
Swapnali Pawar
 
Android introduction
Android introductionAndroid introduction
Android introduction
Reena Nachare
 
An brief introduction to android operating system
An brief introduction to android operating systemAn brief introduction to android operating system
An brief introduction to android operating system
Alexander Decker
 
Android Training Course In Chandigarh
Android Training Course In ChandigarhAndroid Training Course In Chandigarh
Android Training Course In Chandigarh
Excellence Academy
 
Consumer Electronics
Consumer ElectronicsConsumer Electronics
Consumer Electronics
GirishBasole
 
Getting started with android
Getting started with androidGetting started with android
Getting started with android
amitgb
 
mobile application using flutter and android studio
mobile application using flutter and android studiomobile application using flutter and android studio
mobile application using flutter and android studio
abdibedilu2
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
ABHISHEK DINKAR
 
Software training report
Software training reportSoftware training report
Software training report
Natasha Bains
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
Sravan Reddy
 
Ad

More from ARVIND SARDAR (20)

Computer Foundation Foundation Course.pptx
Computer Foundation Foundation Course.pptxComputer Foundation Foundation Course.pptx
Computer Foundation Foundation Course.pptx
ARVIND SARDAR
 
MACHINE LEARNING Unit -2 Algorithm.pptx
MACHINE LEARNING Unit  -2 Algorithm.pptxMACHINE LEARNING Unit  -2 Algorithm.pptx
MACHINE LEARNING Unit -2 Algorithm.pptx
ARVIND SARDAR
 
INTRODUCTION TO NEURAL NETWORKS FINAL YEAR
INTRODUCTION TO NEURAL NETWORKS FINAL YEARINTRODUCTION TO NEURAL NETWORKS FINAL YEAR
INTRODUCTION TO NEURAL NETWORKS FINAL YEAR
ARVIND SARDAR
 
PPT_Template[1] AI in Healthcare seminar.pptx
PPT_Template[1] AI in Healthcare seminar.pptxPPT_Template[1] AI in Healthcare seminar.pptx
PPT_Template[1] AI in Healthcare seminar.pptx
ARVIND SARDAR
 
DENTAL PATHOLOGY TYPES Digram caries.pptx
DENTAL PATHOLOGY TYPES Digram caries.pptxDENTAL PATHOLOGY TYPES Digram caries.pptx
DENTAL PATHOLOGY TYPES Digram caries.pptx
ARVIND SARDAR
 
ALGEBRAIC STRUCTURES ASS second yearDBATU.pptx
ALGEBRAIC STRUCTURES ASS second yearDBATU.pptxALGEBRAIC STRUCTURES ASS second yearDBATU.pptx
ALGEBRAIC STRUCTURES ASS second yearDBATU.pptx
ARVIND SARDAR
 
UNIT 5 election commission second year dbatu
UNIT 5 election commission second year dbatuUNIT 5 election commission second year dbatu
UNIT 5 election commission second year dbatu
ARVIND SARDAR
 
UNIT 4 Local Administration Second year
UNIT 4 Local Administration  Second yearUNIT 4 Local Administration  Second year
UNIT 4 Local Administration Second year
ARVIND SARDAR
 
UNIT 3 state goverment it administration second year
UNIT 3 state goverment it administration second yearUNIT 3 state goverment it administration second year
UNIT 3 state goverment it administration second year
ARVIND SARDAR
 
Unit 2 Union Government and its Administration.pptx
Unit 2 Union Government and its Administration.pptxUnit 2 Union Government and its Administration.pptx
Unit 2 Union Government and its Administration.pptx
ARVIND SARDAR
 
UNIT 1 CONSTITUTION OF INDIA Second Year
UNIT 1 CONSTITUTION OF INDIA Second YearUNIT 1 CONSTITUTION OF INDIA Second Year
UNIT 1 CONSTITUTION OF INDIA Second Year
ARVIND SARDAR
 
Machine Learning Chapter one introduction
Machine Learning Chapter one introductionMachine Learning Chapter one introduction
Machine Learning Chapter one introduction
ARVIND SARDAR
 
Lecture5.pptx
Lecture5.pptxLecture5.pptx
Lecture5.pptx
ARVIND SARDAR
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.ppt
ARVIND SARDAR
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
ARVIND SARDAR
 
graph ASS (1).ppt
graph ASS (1).pptgraph ASS (1).ppt
graph ASS (1).ppt
ARVIND SARDAR
 
Computer foundation course -Knowing Computers
Computer foundation course -Knowing ComputersComputer foundation course -Knowing Computers
Computer foundation course -Knowing Computers
ARVIND SARDAR
 
Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319
ARVIND SARDAR
 
Teaching plan d1 dms 2019 20
Teaching plan  d1 dms 2019  20Teaching plan  d1 dms 2019  20
Teaching plan d1 dms 2019 20
ARVIND SARDAR
 
Teaching plan d1 dms 2019 20
Teaching plan  d1 dms 2019  20Teaching plan  d1 dms 2019  20
Teaching plan d1 dms 2019 20
ARVIND SARDAR
 
Computer Foundation Foundation Course.pptx
Computer Foundation Foundation Course.pptxComputer Foundation Foundation Course.pptx
Computer Foundation Foundation Course.pptx
ARVIND SARDAR
 
MACHINE LEARNING Unit -2 Algorithm.pptx
MACHINE LEARNING Unit  -2 Algorithm.pptxMACHINE LEARNING Unit  -2 Algorithm.pptx
MACHINE LEARNING Unit -2 Algorithm.pptx
ARVIND SARDAR
 
INTRODUCTION TO NEURAL NETWORKS FINAL YEAR
INTRODUCTION TO NEURAL NETWORKS FINAL YEARINTRODUCTION TO NEURAL NETWORKS FINAL YEAR
INTRODUCTION TO NEURAL NETWORKS FINAL YEAR
ARVIND SARDAR
 
PPT_Template[1] AI in Healthcare seminar.pptx
PPT_Template[1] AI in Healthcare seminar.pptxPPT_Template[1] AI in Healthcare seminar.pptx
PPT_Template[1] AI in Healthcare seminar.pptx
ARVIND SARDAR
 
DENTAL PATHOLOGY TYPES Digram caries.pptx
DENTAL PATHOLOGY TYPES Digram caries.pptxDENTAL PATHOLOGY TYPES Digram caries.pptx
DENTAL PATHOLOGY TYPES Digram caries.pptx
ARVIND SARDAR
 
ALGEBRAIC STRUCTURES ASS second yearDBATU.pptx
ALGEBRAIC STRUCTURES ASS second yearDBATU.pptxALGEBRAIC STRUCTURES ASS second yearDBATU.pptx
ALGEBRAIC STRUCTURES ASS second yearDBATU.pptx
ARVIND SARDAR
 
UNIT 5 election commission second year dbatu
UNIT 5 election commission second year dbatuUNIT 5 election commission second year dbatu
UNIT 5 election commission second year dbatu
ARVIND SARDAR
 
UNIT 4 Local Administration Second year
UNIT 4 Local Administration  Second yearUNIT 4 Local Administration  Second year
UNIT 4 Local Administration Second year
ARVIND SARDAR
 
UNIT 3 state goverment it administration second year
UNIT 3 state goverment it administration second yearUNIT 3 state goverment it administration second year
UNIT 3 state goverment it administration second year
ARVIND SARDAR
 
Unit 2 Union Government and its Administration.pptx
Unit 2 Union Government and its Administration.pptxUnit 2 Union Government and its Administration.pptx
Unit 2 Union Government and its Administration.pptx
ARVIND SARDAR
 
UNIT 1 CONSTITUTION OF INDIA Second Year
UNIT 1 CONSTITUTION OF INDIA Second YearUNIT 1 CONSTITUTION OF INDIA Second Year
UNIT 1 CONSTITUTION OF INDIA Second Year
ARVIND SARDAR
 
Machine Learning Chapter one introduction
Machine Learning Chapter one introductionMachine Learning Chapter one introduction
Machine Learning Chapter one introduction
ARVIND SARDAR
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.ppt
ARVIND SARDAR
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
ARVIND SARDAR
 
Computer foundation course -Knowing Computers
Computer foundation course -Knowing ComputersComputer foundation course -Knowing Computers
Computer foundation course -Knowing Computers
ARVIND SARDAR
 
Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319
ARVIND SARDAR
 
Teaching plan d1 dms 2019 20
Teaching plan  d1 dms 2019  20Teaching plan  d1 dms 2019  20
Teaching plan d1 dms 2019 20
ARVIND SARDAR
 
Teaching plan d1 dms 2019 20
Teaching plan  d1 dms 2019  20Teaching plan  d1 dms 2019  20
Teaching plan d1 dms 2019 20
ARVIND SARDAR
 
Ad

Recently uploaded (20)

Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Journal of Soft Computing in Civil Engineering
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 

Unit 1-android-and-its-tools-ass

  • 1. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 1 Unit 1- Android and its Tools Course Outcome: Interpret features of Android operating system. Unit Outcomes: 1a. Explain the given basic terms related to Android system. 1b. Explain with sketches Android architecture for the given application. 1c. Identify tools and software required for developing the given Android application with justification. --------------------------------------------------------------------------------------------------------------- Contents: 1.1 Introduction to android, Open Handset Alliance, Android Ecosystem 1.2 Need of Android, Features of Android 1.3 Tools and software required for developing an Android Application 1.4 Android Architecture --------------------------------------------------------------------------------------------------------------- 1.1 Introduction to android, Open Handset Alliance, Android Ecosystem Introduction to android  Android is an open source operating system based on Linux with a Java programming interface for mobile devices such as Smartphone (Touch Screen Devices who supports Android OS) as well for Tablets too.  The operating system has developed a lot in last 15 years starting from black and white phones to recent smart phones or mini computers. One of the most widely used mobile OS these days is android.  The android is a powerful operating system and it supports large number of applications in Smartphones. What is Android? Android is a stack of software for mobile devices that are an Operating System, Middleware and Key Applications.
  • 2. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 2 Arvind S. Sardar Figure 1.1: Android Operating System  Android is a Linux-based operating system which is designed for touchscreen mobile devices like smartphones and tablet computers.  It is an open source technology that allows the software to be freely modified and distributed by device manufacturers, wireless carriers and developers.  Android was unveiled during 2007 along with the founding of the Open Handset Alliance. Open Handset Alliance The Open Handset Alliance (OHA) is a association whose goal is to develop open standards for mobile devices, promote innovation in mobile phones and provide a better experience for consumers at a lower cost. The OHA is the group that is in charge of the Android smartphones operating system. It was created by Google. The Open Handset Alliance (OHA) is consortium of multiple companies like Samsung, Sony, Intel and many more to provide services and deploy handsets using android platform. Android Ecosystem Ecosystem in Market terminology refers to the inter-dependence between demand and supply. In the Android ecosystem this translates to inter-dependence between users, developers, and equipment makers. One cannot exist without the other:  Users- buy devices and applications  Equipment makers- sell devices, sometimes bundled with applications  Developers- buy devices, then make and sell applications OperatingSystem Middleware Key Applications
  • 3. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 3 Arvind S. Sardar 1.2 Need of Android, Features of Android Need of Android There are so many reasons you should choose Android platform for mobile application development. 1. Zero/negligible development cost The development tools like Android SDK, JDK, and Eclipse IDE etc. are free to download for the android mobile application development. Also Google charge a small fee $25, to distribute your mobile app on the Android Market. 2. Open Source The Android OS is an open-source platform based onthe Linux kernel and multiple open- source libraries. In this way developers are free to contribute or extend the platform as necessary for building mobile apps which run on Android devices. 3. Multi-Platform Support In market, there are a wide range of hardware devices powered by the Android OS, including many different phones and tablet. Even development of android mobile apps can occur on Windows, Mac OS or Linux. 4. Multi-Carrier Support World wide a large number of telecom carriers like Airtel, Vodafone, Idea Cellular, AT&T Mobility, BSNL etc. are supporting Android powered phones. 5. Open Distribution Model Android Market place (Google Play store) has very few restrictions on the content or functionality ofan androidapp.So the developercandistribute theirsapp through Google Play store and as well other distribution channels like Amazon’s app store. Features of Android There are numerous features of android. Some of them are listed below: Feature Description Connectivity Android supports multiple connectivity technologies including GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth, Wi-Fi, LTE, NFC and WiMAX
  • 4. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 4 Arvind S. Sardar Storage Media support Web browser Messaging Multi- tasking Resizable widgets Multi-touch Wi-Fi Screen capture Android Beam Multi- Language SQLite, a lightweight relational database,is usedfor data storagepurposes Android supports various type of audio/video/still media formats like: H.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC, AAC 5.1, MP3, MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF, BMP and WebP The web browser available in Android is based on the open-source Blink (previously WebKit) layout engine, coupled with Chrome's V8 JavaScript engine supporting HTML5 and CSS3 SMS and MMS are available forms of messaging, it also include threaded text messaging and Android Cloud To Device Messaging (C2DM) and now support the enhanced version of C2DM, Android Google Cloud Messaging (GCM) is also a part of Android Push Messaging services Multitasking of applications, with unique handling of memory allocation, is available, using this user can jump from one task to another and at the same time various application can run simultaneously Widgets are re-sizable, so users can expand them to show morecontent or shrink them to save space Android has native support for multi-touch which was initially made available in handsets such as the HTC Hero A technology that lets apps discover and pair directly, over a high- bandwidth peer-to-peer connection. Android supports capturing a screenshot by pressing the power and home-screen buttons at the same time. This features supports after Android 4.0 A popular NFC-based technology that lets users instantly share, just by touching two NFC-enabled phones together Android supports multiple languages, also supports single direction and bi-directional text 1.3 Tools and software required for developing an Android Application The android developer tools let you create interactive and powerful application for android platform. The tools can be generally categorized into two types.  SDK tools  Platform tools SDK tools SDK tools are generally platform independent and are required no matter which android platform you are working on. When you install the Android SDK into your
  • 5. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 5 Arvind S. Sardar system, these tools get automatically installed. The list of SDK tools has been given below − Sr. No Tool & description 1 android This tool lets you manage AVDs, projects, and the installed components of the SDK 2 ddms This tool lets you debug Android applications 3 Draw 9-Patch This tool allows you to easily create a NinePatch graphic using a WYSIWYG editor 4 emulator This tools let you test your applications without using a physical device 5 mksdcard Helps you create a disk image (external sdcard storage) that you can use with the emulator 6 proguard Shrinks, optimizes, and obfuscates your code by removing unused code 7 sqlite3 Lets you access the SQLite data files created and used by Android applications 8 traceview Provides a graphical viewer for execution logs saved by your application 9 Adb Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. Three important tools are android, ddms and sqlite3. 1. Android Android is a development tool that lets you perform these tasks:  Manage Android Virtual Devices (AVD)
  • 6. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 6 Arvind S. Sardar  Create and update Android projects  Update your sdk with new platform add-ons and documentation 2. DDMS DDMSstandsforDalvik debugmonitor serverthat providesmany services onthe device. The service could include message formation, call spoofing, capturing screenshot, exploring internal threads and file systems etc. 3. Sqlite3  Sqlite3 is a command line program which is used to manage the SQLite databases created by Android applications. The tool also allows us to executethe SQL statements on the fly.  There are two ways through which you can use SQLite, either from remote shell or you can use locally. Platform tools  The platform tools are customized to support the features of the latest android platform.  The platform tools are typically updated every time you install a new SDK platform. Each update of the platform tools is backward compatible with older platforms.  Some of the platform tools are listd below −  Android Debug bridge (ADB)  Android Interface definition language (AIDL)  aapt, dexdump and dex etc. Running DDMS From Android studio click on Tools>Android>Android device Monitor. How it works  In android, each application runs in its own process and each process run in the virtual machine. Each VM exposes a unique port, that a debugger can attach to.  When DDMS starts, it connects to adb. When a device is connected, a VM monitoring service is created between adb and DDMS, which notifies DDMS when a VM on the device is started or terminated.
  • 7. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 7 Arvind S. Sardar 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 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 1.4 Android Architecture Figure: Android Architecture
  • 8. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 8 Arvind S. Sardar Running on the top of the kernel, the Android framework was developed with various features. It consists of various C/C++ core libraries with numerous of open source tools. Some of these are: 1. The Android runtime: The Android runtime consist of core libraries of Java and ART(the Android RunTime). Older versions of Android (4.x and earlier) had Dalvik runtime. 2. Open GL(graphics library): This cross-language, cross-platform application program interface (API) is used to produce 2D and 3D computer graphics. 3. WebKit: This open source web browser engine provides all the functionality to display web content and to simplify page loading. 4. Media frameworks: These libraries allow you to play and record audio and video. 5. Secure Socket Layer (SSL): These libraries are there for Internet security. 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 packagemanagers. It providesa lot ofclasses and interfaces for android application development. 1. Activity Manager: It manages the activity lifecycle and the activity stack. 2. Telephony Manager: It provides access to telephony services as related subscriber information, such as phone numbers. 3. View System: It builds the user interface by handling the views and layouts.
  • 9. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 9 Arvind S. Sardar 4. Location manager: It finds the device’s geographic location. 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. Terminologies Related to Android 1. XML In Android, XML is used for designing the application’s UI like creating layouts, views, buttons, text fields etc. and also used in parsing data feeds from the internet. 2. View A view is an UI which occupies rectangular area on the screen to draw and handle user events. 3. Layout Layout is the parent of view. It arranges all the views in a proper manner on the screen. 4. Activity An activity can be referred as your device’s screen which you see. User can place UI elements in any order in the created window of user’s choice. 5. Emulator An emulator is an Androidvirtual device throughwhich you canselect the target Android version or platform to run and test your developed application. 6. Manifest file Manifest file acts as a metadata for every application. This file contains all the essential information aboutthe application like appicon, appname, launcher activity, and required permissions etc. 7. Service Service is an application component that can be used for long-running background processes. It is not bounded with any activity as there is no UI. Any other application component can start a service and this service will continue to run even when the user switches from one application to another. 8. Broadcast Receiver
  • 10. Mobile Application Development Unit 1- Android and its Tools Department of Computer Engineering 10 Arvind S. Sardar Broadcast Receiver is another building block of Android application development which allows youto registerforsystem andapplication events. It works in sucha way that, when the event triggers for the first time all the registered receivers through this broadcast receiver will get notified for all the events by Android Runtime. To know more about the broadcast receivers, kindly refer Android Basic Building Blocks. 9. Content Providers Content Providers are used to share data between two applications. This can be implemented in two ways: 1. When you want to implement the existing content provider in another application. 2. When you want to create a new content provider that can share its data with other applications 10. Intent Intent is a messaging object which can be used to communicate between two or more components like activities, services, broadcast receiver etc. Intent can also be used to start an activity or service or to deliver a broadcast message.