35

Android Seminar || history || versions||application developement

Embed Size (px)

Citation preview

Page 1: Android Seminar || history || versions||application developement
Page 2: Android Seminar || history || versions||application developement

WHAT IS ANDROID?• It is a open source software platform and operating system for mobile devices

• Based on the Linux kernel

• Developed by Google and later the Open Handset Alliance (OHA)

• Allows writing managed code in the Java language

• Android has its own virtual machine i.e. DVM(Dalvik Virtual Machine),which is used for executing the android applicatn.

• Google purchased the initial developer of the software , android incorporated in 2005.

• Provides platform for developing apps & marketplace for distribution.

Page 3: Android Seminar || history || versions||application developement

Android was designed as a platform for software development.

Android is open source.

Android is free.

Community support.

Tool support.

Why Android ?

Page 4: Android Seminar || history || versions||application developement

HISTORY OF ANDROID Android Inc. founded in Palo Alto, California, united states in October 2003 by

Andy Rubin[co-founder of danger ], rich miner[co-founder of wildfire communication Inc.], nick sears[once VP at T-Mobile], and Chris white[headed design and interface development at web TV] to develop.

Andy Rubin was developed android in the year 2003-2005 with Google support and same company took Android in August 2005.

In 2008 the first Android device is launched, that is HTC Dream G1 which operates Android 1.0

Page 5: Android Seminar || history || versions||application developement

Key features of Android Storage Connectivity Messaging Multiple languages Web browser Java support Media support Supports SSL(TLS) Streaming media support Additional hardware support Multi-touch

Page 6: Android Seminar || history || versions||application developement
Page 7: Android Seminar || history || versions||application developement

LINUX KERNEL

•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.

Page 8: Android Seminar || history || versions||application developement

NATIVE LIBRARIES

• 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.

Page 9: Android Seminar || history || versions||application developement

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.

Page 10: Android Seminar || history || versions||application developement

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 you’ve come to expected to use. 

Page 11: Android Seminar || history || versions||application developement

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.

Page 12: Android Seminar || history || versions||application developement

Contd…These 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.

Page 13: Android Seminar || history || versions||application developement

APPLICATION LAYER

•the 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.

Page 14: Android Seminar || history || versions||application developement

A number of well-recognized mobile operating systems are available in the market in both proprietary and open-source categories. Most widely used mobile operating systems are −

•Android

•IOS

•BlackBerry

•Windows

Page 15: Android Seminar || history || versions||application developement
Page 16: Android Seminar || history || versions||application developement

resourcesManifest

Un-compiled resources

Page 17: Android Seminar || history || versions||application developement

Android Versions ?

Page 18: Android Seminar || history || versions||application developement

Code name Version number Initial release date API level

Alpha 1.0 September 23, 2008 1Beta 1.1 February 9, 2009 2Cupcake 1.5 April 27, 2009 3Donut 1.6 September 15, 2009 4Éclair 2.0 – 2.1 October 26, 2009 5 – 7Froyo 2.2 – 2.2.3 May 20, 2010 8Gingerbread 2.3 – 2.3.7 December 6, 2010 9 – 10Honeycomb 3.0 – 3.2.6 February 22, 2011 11 – 13Ice Cream Sandwich 4.0 – 4.0.4 October 18, 2011 14 – 15Jelly Bean 4.1 – 4.3.1 July 9, 2012 16 – 18KitKat 4.4 – 4.4.4 October 31, 2013 19 – 20Lollipop 5.0 – 5.1.1 November 12, 2014 21 – 22Marshmallow 6.0 – 6.0.1 October 5, 2015 23Nougat 7.0 August or September 2016 24

Page 19: Android Seminar || history || versions||application developement

A software development kit (SDK or "devkit") is typically a set of software development tools that allows the creation of applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar development platform.

What is SDK?

Page 20: Android Seminar || history || versions||application developement

What is JDK ?

The Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (javadoc) and other tools needed in Java development.

Page 21: Android Seminar || history || versions||application developement

Android Studio

Official IDE for Android application development. Based on JetBrains’ IntelliJ IDEA software Available on Windows, Linux, Mac.

Page 22: Android Seminar || history || versions||application developement

Android Studio vs. Eclipse ADT comparison

Feature Android Studio Eclipse ADT Eclipse AndMore

Build system Graldle Apache Ant Gradle/Maven/Ant

Maven-based build dependencies Yes No Yes

Build variants and multiple-APK generation Yes No ?

Advanced Android code

Complition and refactoring

Yes Yes ?

Graphical layout editor Yes Yes Yes

APK signing and keystore management Yes Yes Yes

NDK support Yes Yes Yes

Page 23: Android Seminar || history || versions||application developement

Windows OS X Linux

OS version Microsoft Windows 10/8/7 (32- or 64-bit)

Mac OS X 10.8.5 or higher, up to 10.11.4 (El Capitan) GNOME or KDE desktop

RAM 2 GB RAM minimum, 8 GB RAM recommended

Disk space 500 MB disk space for Android Studio, at least 1.5 GB for Android SDK, emulator system images, and caches

Java version Java Development Kit (JDK) 8 Java Development Kit (JDK) 6 Java Development Kit (JDK) 8

Screen resolution 1280x800 minimum screen resolution

System requirements

Version 2.x

Page 24: Android Seminar || history || versions||application developement

Oops !

Page 25: Android Seminar || history || versions||application developement

App components

Activities Services Content providers Broadcast Receivers

Page 26: Android Seminar || history || versions||application developement

app/src/main/java/com.example.myfirstapp/MainActivity.java

app/src/main/res/layout/activity_main.xml

app/src/main/AndroidManifest.xml

Developing Android Application

Page 27: Android Seminar || history || versions||application developement

Storage Options

Shared Preferences Internal Storage External Storage SQLite Databases Network Connection

Page 28: Android Seminar || history || versions||application developement

SQLite database

Page 29: Android Seminar || history || versions||application developement

Light-weight data interchange format.

Language independent. Collection of name/value pairs

Page 30: Android Seminar || history || versions||application developement
Page 31: Android Seminar || history || versions||application developement

PhoneGap Virtual reality/daydream firebase

Page 32: Android Seminar || history || versions||application developement

Google to train 2 mn developers in Android

Tech giant Google aims to train about 2 million developers in India on its Android platform over the next three years to cash in on the high-quality talent pool in the country.

India, which has about one million people working on solutions for the Android mobile platform, is poised to become home to about 4 million developers by 2018, making it the worlds largest developer base.

Page 33: Android Seminar || history || versions||application developement

Associate Android Developer Certification

Page 34: Android Seminar || history || versions||application developement
Page 35: Android Seminar || history || versions||application developement

THANK YOU