1.0 Android Platform
1.0 Android Platform
LEARNING OBJECTIVE
After studying this module student should be able to:
INTRODUCTION
Android is an operating system that powers mobile devices and is one of the most
popular mobile platforms today. Android platform runs on hundreds of millions of
mobile devices throughout the world. It's the largest installed operating system of any
mobile operating system and growing rapidly day by day.
You can develop apps and games using Android and it gives you an open
marketplace for distributing your apps and games instantly.
Android is the operating system for powering screens of all sizes. Android version is
named after a dessert. The latest version of android is Android 9.0 – Pie.
The Motorola DynaTAC 8000X was the first commercially available cell phone and it
is of brick size. First-generation mobiles were expensive, not particularly full featured
and has Proprietary software.
As mobile phone prices dropped, batteries improved, and reception areas grew,
more and more people began carrying these handy devices. Customers began
pushing for more features and more games. They needed some way to provide a
1
portal for entertainment and information services without allowing direct access to
the handset.
Early phone has postage stamp-sized low-resolution screens and limited storage
and processing power, these phones couldn’t handle the data-intensive operations
required by traditional web browsers. The bandwidth requirements for data
transmission were also costly to the user.
WAP fell short of commercial expectations due to following reasons and Critics
began to call WAP “Wait and Pay.”
Writing robust applications with WAP, such as graphic-intensive video games, was
nearly impossible. Memory was getting cheaper, batteries were getting better, and
PDAs and other embedded devices were beginning to run compact versions of
common operating systems such as Linux and Windows. A variety of different
proprietary platforms emerged and developers are still actively creating applications
for them. Some of the examples of proprietary mobile platform are:
2
• Palm OS (now Garnet OS)
• RIM BlackBerry OS
• Java Micro Edition [Java ME]
• Binary Runtime Environment for Wireless (BREW)
• Symbian OS
• OS X iPhone
In their own words, the OHA represents the following: “A commitment to openness, a
shared vision for the future, and concrete plans to make the vision a reality, to
accelerate innovation in mobile and offer consumers a richer, less expensive, and
better mobile experience”
The OHA hopes to deliver a better mobile software experience for consumers by
providing the platform needed for innovative mobile development at a faster rate and
with higher quality than existing platforms, without licensing fees for either software
developers or handset manufacturers.
Andy Rubin has been credited as the father of the Android platform. His company,
Android Inc., was acquired by Google in 2005. Working together, OHA members,
including Google, began developing a non-proprietary open standard platform based
upon technology developed at Android Inc. that would aim to solve the problems
hindering the mobile community. The result is the Android project.
3
tools, forums, and the Software Development Kit (SDK) for developers. All major
Android news originates at Google.
What is android?
Android is called as “the first complete, open, and free mobile platform”:
Features of Android
What it is not?
Android is not:
4
encompassing the underlying operating system, the API libraries, and the
applications themselves.
• A mobile phone handset Android includes a reference design for mobile handset
manufacturers, but there is no single ‘‘Android phone.’’ Instead, Android has been
designed to support many alternative hardware devices.
• Google’s answer to the iPhone: The iPhone is a fully proprietary hardware and
software platform released by a single company (Apple), while Android is an
open-source software
Android is the operating system for powering screens of all sizes. Android version is
named after a dessert. The latest version of android is Android 9.0 – Pie. Following
table shows how the android platform evolves.
5
Android Name Feature API
Version Level
recording and playback, Bluetooth, Copy and
Paste, animated screen transition, auto rotation,
upload video on YouTube, upload photo to
Picasa.
1.6 Donut Voice and text entry search, Multi-lingual 4
speech synthesis, updated technology support
for CDMA/EVDO, 802.1x, VPNs, and a text-to-
speech engine, WVGA screen resolutions,
Expanded Gesture framework and new Gesture
Builder development tool
2.0 Éclair Customize your home screen just the way you 5
2.0.1 want it. Arrange apps and widgets across 6
2.1 multiple screens and in folders. Stunning live 7
wallpapers respond to your touch.
2.2-2.2.3 Froyo Voice Typing lets you input text, while Voice 8
Actions allow you to control your phone, just by
speaking.
2.3 Gingerbread New sensors make Android great for gaming – 9-10
so you can touch, tap, tilt and play away.
3.0 Honeycomb Optimized for tablets. 11-13
4.0 Ice Cream A new, refined design. Simple, beautiful and 14-15
Sandwich beyond smart.
4.1-4.3 Jelly Bean Fast and smooth with slick graphics. With 16-18
Google Now, you get just the right information
at the right time.
4.4 Kit Kat A more polished design, improved performance 19-20
and new features.
5.0 Lolipop Get the smarts of Android on screens big and 21-22
small with the right information at the right
moment.
6.0 Marshmallow New App Drawer, Doze mode, Native finger 23
6
Android Name Feature API
Version Level
print support, Android pay, USB type-C and
USB 3.1 support, Direct share.
7.0 Nougat Revamped notification, Split-screen use, file 24-25
based encryption, direct boot, data saver
8.0 Oreo Picture in picture, Google play protect, emoji 26-27
9.0 Pie Adaptive Battery, adaptive brightness, intuitive 28
navigation, dashboard, App timers, Wind down
and do not disturb, Digital wellbeing.
Android phones will normally come with a suite of generic preinstalled applications
that are part of the Android Open-Source Project (AOSP), including, but not
necessarily limited to:
• An e-mail client
• An SMS management application
• A full PIM (personal information management) suite including a calendar and
contacts list
• A Web Kit-based web browser
• A music player and picture gallery
• A camera and video recording application
• A calculator
• The home screens
• An alarm clocks
In many cases Android devices will also ship with the following proprietary Google
mobile applications:
8
• An application framework that encourages reuse of application components and
the replacement of native applications
ANDROID ARCHITECTURE
Android is an open source, Linux-based software stack created for a wide array of
devices and form factors. The following diagram shows the major components of the
Android platform.
The Linux Kernel
The foundation of the Android platform is the Linux kernel. For example, the Android
Runtime (ART) relies on the Linux kernel for underlying functionalities such as
threading and low-level memory management. Using a Linux kernel allows Android
to take advantage of key security features and allows device manufacturers to
develop hardware drivers for a well-known kernel.
9
• On Android 9 (API level 28) and higher, conversion of an app package's
Dalvik Executable format (DEX) files to more compact machine code.
• Better debugging support, including a dedicated sampling profiler, detailed
diagnostic exceptions and crash reporting, and the ability to set watch points
to monitor specific fields
Prior to Android version 5.0 (API level 21), Dalvik was the Android runtime. If your
app runs well on ART, then it should work on Dalvik as well, but the reverse may not
be true. Android also includes a set of core runtime libraries that provide most of the
functionality of the Java programming language, including some Java 8 language
features that the Java API framework uses.
10
Native C/C++ Libraries
Many core Android system components and services, such as ART and HAL, are
built from native code that requires native libraries written in C and C++. The Android
platform provides Java framework APIs to expose the functionality of some of these
native libraries to apps. For example, you can access OpenGL ES through the
Android framework’s Java OpenGL API to add support for drawing and manipulating
2D and 3D graphics in your app. If you are developing an app that requires C or C++
code, you can use the Android NDK to access some of these native platform libraries
directly from your native code.
Developers have full access to the same framework APIs that Android system apps
use.
System Apps
Android comes with a set of core apps for email, SMS messaging, calendars,
internet browsing, contacts, and more. Apps included with the platform have no
special status among the apps the user chooses to install. So a third-party app can
11
become the user's default web browser, SMS messenger, or even the default
keyboard (some exceptions apply, such as the system's Settings app).
The system apps function both as apps for users and to provide key capabilities that
developers can access from their own app. For example, if your app would like to
deliver an SMS message, you don't need to build that functionality you—you can
instead invoke whichever SMS app is already installed to deliver a message to the
recipient you specify.
12
Let us sum up
In this module we have discussed the history of mobile application development, you
have got detailed understanding of android and its version, android SDK features
and architecture, and we also elaborate factors that should be given consideration
while developing mobile application
References
13