0% found this document useful (0 votes)
87 views

Android Basics

This document provides an overview of the Android operating system and mobile application development. It discusses the course objectives which are an introduction to the Android platform architecture, application building blocks, and development tools. It then describes what Android is, its versions and features. The remainder of the document outlines application fundamentals like the development environment and components like activities, services, broadcast receivers and content providers. It closes with a discussion of the future of Android.

Uploaded by

rachit sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

Android Basics

This document provides an overview of the Android operating system and mobile application development. It discusses the course objectives which are an introduction to the Android platform architecture, application building blocks, and development tools. It then describes what Android is, its versions and features. The remainder of the document outlines application fundamentals like the development environment and components like activities, services, broadcast receivers and content providers. It closes with a discussion of the future of Android.

Uploaded by

rachit sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

Android Basics

COURSE OBJECTIVES

Mobile Application Development (MAD)


Intro to Android platform
Platform architecture
Application building blocks
Development tools
Textbook: Hello, Android
 
WHAT IS ANDROID

Android is an operating system for


Mobile phones. I will explain more
about this in the later part of this
article. Lot of advances can be seen
these days in the field of smart phones.
As the number of users is increasing
day by day, facilities are also
increasing.
ANDROID VERSIONS
ANDROID FEATURES

Reuse and replacement of


components
Dalvik virtual machine
Integrated browser
Optimized graphics
SQLite
Media support
Rich development environment
APPLICATION
FUNDAMENTALS

Apps are written in Java


Bundled by Android Asset Packaging Tool
Every App runs its own Linux process
Each process has it’s own Java Virtual Machine
Each App is assigned a unique Linux user ID
Apps can share the same user ID to see each other’s files
Libraries
• C/C++ libraries
• Interface through Java
• Surface manager – Handling UI Windows
• 2D and 3D graphics
• Media codecs, SQLite, Browser engine
Android Runtime
• Dalvik VM
– Dex files
– Compact and efficient than class files
– Limited memory and battery power
• Core Libraries
– Java 5 Std edition
– Collections, I/O etc…
APPLICATION
COMPONENTS

 Activity

◦ Present a visual user interface for one focused endeavor the user
can undertake
◦ Example: a list of menu items users can choose from
 Services

◦ Run in the background for an indefinite period of time


◦ Example: calculate and provide the result to activities that need
it
 Broadcast Receivers

◦ Receive and react to broadcast announcements


◦ Example: announcements that the time zone has changed
 Content Providers

◦ Store and retrieve data and make it accessible to all applications


ACTIVITIES

Typically correspond to one UI screen


But, they can:
Be faceless
Be in a floating window
Return a value
INTENTRECEIVER
S
Components that respond to broadcast
‘Intents’
Way to respond to external notification or
alarms
Apps can invent and broadcast their own
Intent
INTENTS

Think of Intents as a verb and object; a


description of what you want done
E.g. VIEW, CALL, PLAY etc..
System matches Intent with Activity that can best
provide the service
Activities and IntentReceivers describe what
Intents they can service
Intents
Home System picks best
component for that action Photo
Gallery
Contacts

“Pick photo”
GMail

Client component makes a


Chat request for a specific
action
Blogger
Blogger
New components can use
existing functionality
SERVICES

Faceless components that run in the


background
E.g. music player, network download
etc…
FUTURE SCOPE

I'm just curious to what you guys think the future of Android will
be like, especially after Apple won their lawsuit with Samsung.
With that lawsuit, and Adobe eliminating Mobile Flash, I am less
optimistic about the future of Android than I have ever been. The
lawsuit could dramatically impact the design of Android (of
course we will still have launchers to make our phone look how
we want).
A future change in the basic design could dramatically hurt
Android. The current Icon setup is the most popular for users
(Windows, Macs, iPhone, Android) but if that were to change,
people may not want to keep buying Androids. Personally, I hope
Samsung is able to sue Apple when the mini iPad comes out for
design patents. Since Apple was able to win a rectangle with
rounded corners, why can't Samsung win the 7inch design. The
mobile war lawsuits are silly and will cause all of us to pay more
for future Smartphones.
CREATED BY

Nishita Sharma.
Rahul Sharma.
Rachit Sharma.
Arpit Sharma.
The End
• Thank you for your precious time.
• HOD- Lallu lal(Bhadru).
• Mr. Vyom(Chela).(Tera Teddy Bear)

You might also like