Documente Academic
Documente Profesional
Documente Cultură
#5/3,JAI NAGAR,ARUMBAKKAM
CHENNAI-106
Copyright @ 2012 Oneyes Technologies 1
Oneyes Technologies
Welcomes You all..
Agenda
Introduction to Android
History of Android
Open handset Alliance
Advantages over other operating systems
Version History
Android Architecture
Installing/Configuration the Eclipse Plug-in
First Android Application
Deployment in mobile
Google Play
Introduction
Android is an open source and Linux-based Operating System for mobile devices such as
smart phones and tablet computers.
A secondary target for the light weight OS is embedded systems such as networking
equipment, smart TV systems including set top boxes.
Android became the worlds leading Smartphone platform at the end of 2010.
The first quarter of 2012, Android had a 59% Smartphone market share worldwide.
At the half of 2012, there were 400 million devices activated and 1 million activations per day.
The goal of the Open Handset Alliance is to develop open standards for
mobile devices.
The Open Handset Alliance also unveiled their first product, Android
7
Other Operating Systems
Symbian os(Nokia)
Ios-Apple
Blackberry os
Bada os(samsung)
Maemo os
Windows os etc.
Advantages over other operating systems
Features
speakerphone
Features
Feature
Features
Refreshed browser UI with bookmark thumbnails, double-tap zoom and support for HTML5
Features
Support for extra-large screen sizes and resolutions (WXGA and higher)
New audio effects such as reverb, equalization, headphone virtualization, and bass boost
Its Final version was released on September 21, 2011 with some additional features
Android 3.x Honeycomb
Released on February 22, 2011
Features
Hardware acceleration
Support for multi-core processors
Ability to encrypt all user data
UI refinements
Support for external keyboards and pointing devices
Support for joysticks and gamepads
Android 4.0.x Ice Cream Sandwich
Released on October 19, 2011
Features
Virtual buttons in the UI
Face Unlock, a feature that allows users to unlock handsets using facial recognition software
Ability to shut down apps that are using data in the background
Features
Jelly Bean is an incremental update with the primary aim of improving the user interface, both in
terms of functionality and performance
Multichannel audio
Expandable notifications
USB audio
Android 4.4.x KitKat
Released on 31 october 2013
Android OS 4.4.2 KitKat support more various upgraded Emoji icon
Features
Android 4.4 is designed to run fast, smooth, and responsively on a much
broader range of devices
Integrated Location service
Wireless Printing service.
Live Streaming on HTTP
Storage access framework
Step Detector and Step Counter
Enhanced notification access
Android 5.x Lollipop
Released on November 12, 2014.
Features:
Notifications can be accessed from the lockscreen and displayed within
applications as top-of-the-screen banners.
Lock screen provides shortcuts to application and notification settings.
Pinning of an application's screen for restricted user activity.
Recently used applications are remembered even after restarting the device.
Ability to join Wi-Fi networks and control paired Bluetooth devices from quick
settings
Improvements to the notification priority system
Device protection: if a device is lost or stolen it will remain locked until the
owner signs into their Google account, even if the device is reset to factory
settings.
23
Android 6.0 Marshmallow
was officially released in October 5, 2015.
Features:
1) App permissions
2) Google "Now on Tap" feature
3) Alphabetically accessible vertical application drawer
4) Doze mode, which reduces CPU speed while the screen is
off in order to save battery life
5) Automatic full data backup and restore for apps
6) Application search bar and favorites
7) App Linking for faster instinctive opening of links with
corresponding applications.
24
Android 7.0 Nougat
Google announced that N's release name would be
"Nougat on June 30, 2016.
Features:
Native support for VR.
Multi-window mode.
The notification panel has been completely redesigned.
Improvements in security through file-based
encryption, media framework hardening and seamless
updates.
By double-tapping the recent apps button, you can
quickly switch to the previous app.
25
Android Architecture
Android Architecture Cont..
Linux Kernel
Android use Linux kernel as its hardware abstraction layer between the hardware and
rest of the software.
Libraries
Every thing that you see here in green is written in C and C++
Android Architecture Cont..
Android Run Time
The DVM runs something called dex files, D-E-X and these are byte
codes that are the result s of converting at build time. Class and
JAR Files
This is all written in a Java programming language and the application frame work is the toolkit that
all applications use.
These applications include the ones that come with a phone like the home applications, or the phone
application .
It includes applications written by Google, and it includes apps that will be written by you.
Applications
It includes the home application ,the contact s application ,the browser ,and your apps
And everything at this layer is, again, using the same app framework provided by the layers below.
Java to Linux
Processes
Five types of processes are distinguished in Android in order to control the behaviour
of the system and its running programs.
Empty: These processes contain no active application components and exists only
for caching purposes.
31
Application lifetime & states
32
What is SDK
SDK stands for Software development kit
The Android SDK includes sample projects with source code, development
tools, an emulator, and required libraries to build Android applications.
Applications are written using the Java programming language and run on
Dalvik,
Dalvik a custom virtual machine designed for embedded use which runs
on top of a Linux kernel.
Android Development Tools
Google provides the Android Development Tools (ADT)
to develop Android applications with Eclipse. ADT is a
set of components (plug-ins) which extend the Eclipse
IDE with Android development capabilities.
The Android SDK contains a tool called dx which converts Java class
files into a .dex (Dalvik Executable) file. All class files of one application
are placed in one compressed .dex file. During this conversion process
redundant information in the class files are optimized in the .dex file.
For example if the same String is found in different class files,
the .dex file contains only once reference of this String.
These dex files are therefore much smaller in size than the
corresponding class files.
pre requirements
JDK 1.6 or 1.7
ECLIPSE IDE
Android ADT plugin
Android SDK tools
Windows 32 or 64 bit OS
First install JDK in your PC.Steps to Install
In the Add Repository dialog that appears, enter "ADT Plug-in" for the Name and the
following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK. If you have trouble acquiring the plugin, try using "http" in the Location URL,
instead of "https" (https is preferred for security reasons).
Available Software dialog
41
Configure the SDK
After you've installed ADT and restarted Eclipse, you must specify the location of your
Android SDK directory:
For the SDK Location in the main panel, click Browse... and locate your downloaded
Android SDK directory (such as android-sdk-windows).
44
45
Android Virtual Device
To create virtual device
Open Eclipse -> Window -> AVD Manager
Open the Android Virtual Device manager
Add new device
With the Android OS version needed
46
How Android Virtual Device Looks
Create an First Android Project
Step 2
STEP 3
50
Android Project Structure
Google Play