android apps

Download Android Apps

Post on 08-Feb-2017




0 download

Embed Size (px)


PowerPoint Presentation

Android Mobile Application Development

M. Nagarajan, Department of Computer Science and EngineeringValliammai Engineering College


Chapter 1: Introduction to Mobile Operating SystemsChapter 2: List of ideasContent 1: PicturesContent 2: TableContent 3: GraphChapter 3: HeadlineChapter 4: Chapter 5: Chapter 6: ConclusionCHAPTER 1CHAPTER 2CHAPTER 3CHAPTER 4CHAPTER 5CHAPTER 6



What is Android?Android is an open source and Linux-based operating system for mobile devices such as smart phones and tablet computers. Android was developed by the Open Handset Alliance, led by Google, and other companies.The first beta version of the Android Software Development Kit (SDK) was released by Google in 2007 where as the first commercial version, Android 1.0, was released in September 2008.

Andy Rubin

Why Android ?

Features of AndroidFeatureDescriptionBeautiful UIAndroid OS basic screen provides a beautiful and intuitive user interfaceConnectivityBluetooth, Wi-Fi, GSM/EDGE, IDEN, CDMA, UMTS, WiMAXStorageSQLiteMedia supportMP3, MPEG-4 SP, WAV, JPEG, PNG, GIF, BMPMessagingSMS and MMSWeb browserChrome's V8 JavaScript engine supporting HTML5 and CSS3.Multi-taskingUser can jump from one task to another and same time various application can run simultaneously.Resizable widgetsWidgets are resizable, so users can expand them to show more content or shrink them to save spaceMulti-LanguageSupports single direction and bi-directional text.




CupcakeHistory of Android

Jelly Bean

Ice Cream Sandwich






Android Cupcake 1.5

Released on April 30, 2009. Added auto-rotation option. Copy and Paste feature added in the web browser. Increased speed and performance but not upto required level.

Released on September 15, 2009. Voice search and Search box were added. Faster OS boot times and fast web browsing experience.Android Donut 1.6Android clair 2.0/2.1

Released on October 26, 2009. Bluetooth 2.1 support. Improved typing speed on virtual keyboard, with smarter dictionary. no Adobe flash media support.

Android Froyo 2.2 Released on May 20, 2010. Supportfor Adobe Flash 10.1 Improved Application launcher with better browser No internet calling.

Android Gingerbread 2.3

Released on December 6, 2010. Updated User Interface with highefficiencyand speed Internet calling One touch word selection and copy/paste. New keyboard for faster word input. More successful version of Android than previous. not supports multi-core processors.

Android Honeycomb 3.0 Released on February 22, 2011. Support for multi-core processors Ability to encrypt all user data. This version of android is only available for tablets.

Android IceCreamSandwich(ICS) 4.0

Released on November 14, 2011. Virtual button in the UI. A new typeface family for the UI,Roboto. Ability to shut down apps that are using data in the background.

Android JellyBean 4.1 Released on June 27, 2012. Improved the features of previous version while improving the graphics quality. Smoother user interface.

Android JellyBean 4.2,4.3Released on 13 November 2012Lock screenimprovementsMultiple user accounts (tablets only)Bug fixes and performance enhancements

Android Kitkat 4.4Released on 31 October 2013Ability for applications to trigger translucency in the navigation and status barsWireless printing capabilityAnd even more features are currently being rolled out

History of Android


The architecture is based on the Linux2.6 kernel. This layer is core of android architecture. It provides service like power management, memory management, security etc. It helps in software or hardware binding for better communication.


Android has its own libraries, which is written in C/C++. These libraries cannot be accessed directly. With the help of application framework, we can access these libraries. There are many libraries like web libraries to access web browsers, libraries for android and video formats etc.

Android Run Time

The Android Runtime was designed specifically for Android to meet the needs of running in an embedded environment where you have limited battery, limited memory, limited CPU.

Dalvik is the process virtual machine in Google's android operating system. It is the software that runs the apps on android devices. Dalvik is thus an integral part of android ,which is typically used on mobile devices such as mobile phones and tablet computers. Programs are commonly written in java and compiled to byte code.

Android Run Time

This is in blue, meaning that it's written in the Java programming language.

The core library contains all of the collection classes, utilities, IO, all the utilities and tools that youve come to expected to use.

Application Framework

This is all written in a Java programming language and the application framework 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. So, all apps use the same framework and the same APIs.

ContdThese are as follows:- Activity manager:-It manages the lifecycle of applications. It enable proper management of all the activities. All the activities are controlled by activity manager.Resource manager:-It provides access to non-code resources such as graphics etc.Notification manager:-It enables all applications to display custom alerts in status bar.Location manager:- It fires alerts when user enters or leaves a specified geographical location. Package manager:-It is use to retrieve the data about installed packages on device. Window manager:-It is use to create views and layouts.Telephony manager:-It is use to handle settings of network connection and all information about services on device.

APPLICATION LAYERThe final layer on top is Applications.

It includes the home application the contacts application , the browser, and apps.

It is the most upper layer in android architecture.

All the applications like camera, Google maps, browser, sms, calendars, contacts are native applications. These applications works with end user with the help of application framework to operate.

FEATURES OF ANDROID Background Wi-Fi location still runs even when Wi-Fi is turned offDeveloper logging and analyzing enhancementsIt is optimized for mobile devices.It enables reuse and replacement of components.Java support ,media support, multi touch, video calling,multi tasking ,voice based features, screen capture, camera ,bluetooth,gps,compass and accelerometer,3G

DIS-ADVANTAGESit has security related issues, malware. Android operating system uses more amount of battery and process in the background causing the battery quickly drains. Sometimes slow device company issued an official version of Android your own .Extremely inconsistence in design among apps.Very unstable and often hang or crash.

Android vs windows phonesAndroidWindows PhoneCompany/ DeveloperGoogleMicrosoftProgrammed inJava, C, C++C, C++OS familyUnix-likeWindowsInitial releaseSeptember 23, 2008October 21, 2010Supported platformsARM,MIPS, x86, I.MXx86LicenseApache License 2.0Linux kernel patches under GNU GPL v2Commercial proprietary softwareDefault user interfaceGraphical (Multi-touch)Graphical (Metro UI)

What is Eclipse?Eclipse is a Java-based open source platform that allows a software developer to create a customized development environment (IDE) from plug-in components built by Eclipse members Eclipse is managed and directed by the Consortium.

Eclipse Version(s)CodenameYearPlatform VersionCallisto20063.2Europa20073.3Ganymede20083.4Galileo20093.5Helios20103.6Indigo20113.7Juno20123.8 and 4.2Kepler20134.3Luna20144.4.0Mars24 June 20154.5NeonJune 2016 (planned)4.6OxygenJune 2017 (planned)4.7

Java VMStandard Java2Virtual Machine

PlatformEclipse Platform Java development tools


PDEPlug-in development environmentEclipse ArchitectureEclipse is a universal platform for integrating development toolsOpen, extensible architecture based on plug-ins

Eclipse Alternative distributions

Eclipse PDT (PHP Development Tools)

Eclipse ADT (Android Development Tools)

The PHP (PHP hypertext Preprocessor) Development Tools project provides a PHP Development Tools framework for the Eclipse platformAndroid Development Tools (ADT) is a Google-provided plugin for the Eclipse IDE that is designed to provide an integrated environment in which to build Android applications.

What will you need?Note: ADT can run on at least Dual Core with at least 2GB RAM.

How to Install Eclipse and Setup ADT

Installation StepsDownload eclipse from

Download Android SDK

How to Install Eclipse and Setup ADT

Create Android Application

File -> New -> Projectand finally selectAndroid New Application

Anatomy of Android Application

Contd..S.N.Folder/ File Description1srcThis contains the.javasource files for your project. By default, it includes anMainActivity.javasource file having an activity class that runs when your app is launched using the app icon.2genThis contains the.Rfile, a compiler-generated file that references all the resources found in your project. You should n