21
Android Mobile Application Development Assistant Lecturer Mustafa Ghanem Saeed Cihan University - Sulaimaniyah Computer science Department Introduction In to Android

Android 1

Embed Size (px)

Citation preview

Page 1: Android  1

Android Mobile Application

Development

Assistant Lecturer Mustafa Ghanem Saeed

Cihan University - Sulaimaniyah Computer science Department

IntroductionIn to Android

Page 2: Android  1

What is Android?

2

• Android is an open source and Linux-based Operating System for mobile devices such as smartphones and tablet computers. Android was developed by the Open Handset Alliance, led by Google, and other companies.

• Android offers a unified approach to application development for mobile devices which means developers need only develop for Android, and their applications should be able to run on different devices powered by Android.

Page 3: Android  1

Open Handset Alliance (OHA) included several companies

Page 4: Android  1

Why Android ?

4

Page 5: Android  1

What is A Features of Android?

5

Feature Description

Beautiful UI Android OS basic screen provides a beautiful and intuitive user interface.

Connectivity GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth, Wi-Fi, LTE, NFC and WiMAX.

Storage SQLite, a lightweight relational database, is used for data storage purposes.

Media supportH.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC, AAC 5.1, MP3, MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF, and BMP

Messaging SMS and MMS

Wi-Fi DirectA technology that lets apps discover and pair directly, over a high-bandwidth peer-to-peer connection.

Android BeamA popular NFC-based technology that lets users instantly share, just by touching two NFC-enabled phones together.

Page 6: Android  1

Features of Android Con

6

Web browserBased on the open-source WebKit layout engine, coupled with Chrome's V8 JavaScript engine supporting HTML5 and CSS3.

Multi-touchAndroid has native support for multi-touch which was initially made available in handsets such as the HTC Hero.

Multi-taskingUser can jump from one task to another and same time various application can run simultaneously.

Resizable widgets Widgets are resizable, so users can expand them to show more content or shrink them to save space

Multi-Language Supports single direction and bi-directional text.

GCMGoogle Cloud Messaging (GCM) is a service that lets developers send short message data to their users on Android devices, without needing a proprietary sync solution.

Page 7: Android  1

Android Applications

7

• Once developed, Android applications can be packaged easily and sold out either through a store such as Google Play, SlideME, Opera Mobile Store, Mobango,F-droid and the Amazon Appstore.

Page 8: Android  1

History of Android

8

Page 9: Android  1

What is API level?

9

• API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform. The Android platform provides a framework API that applications can use to interact with the underlying Android system. The framework API consists of: A core set of packages and classes.

developer.android.com/guide/topics/manifest/uses-sdk-element.html

Page 10: Android  1

Features of Android

10

Code name Version number Initial release date API level

1.0 September 23, 2008 1

1.1 February 9, 2009 2Cupcake 1.5 April 27, 2009 3Donut 1.6 September 15,

2009 4Eclair 2.0–2.1 October 26, 2009 5–7Froyo 2.2–2.2.3 May 20, 2010 8

Gingerbread 2.3–2.3.7 December 6, 2010 9–10Honeycomb[ ]a 3.0–3.2.6 February 22, 2011 11–13 Ice Cream Sandwich 4.0–4.0.4 October 18, 2011 14–15

Jelly Bean 4.1–4.3.1 July 9, 2012 16–18

KitKat 4.4–4.4.4 ,4.4W–4.4W.2 October 31, 2013 19–20

Lollipop 5.0–5.1.1 November 12, 2014 21–22Marshmallow 6.0–6.0.1 October 5, 2015 23

N Developer Preview 1

Page 11: Android  1

Global Android version distribution since December 2009. As of February

2016

11By Erikrespo - Android Developer

Dashboard

], Android 4.4 "KitKat" is the single most widely used Android version, operating on 35.5% of all Android devices accessing Google Play. The second are different Android "Lollipop" versions (5.0–5.1.1), with a combined share of 34.1%.[1]

Page 12: Android  1

Android Architecture

12http://www.javatpoint.com/android-software-

stack

Page 13: Android  1

Android Compiler Stage

13

The compiling and packaging process from the source file:

Page 14: Android  1

The Android SDK?

14

Page 15: Android  1

Android Emulator

15

• Android Emulator is used to run, debug and test the android application. If you don't have the real device, it can be the best way to run, debug and test the application.

• It uses an open source processor emulator technology called QEMU.

Page 16: Android  1

Application Components

16

• Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file AndroidManifest.xml that describes each component of the application and how they interact.

Page 17: Android  1

What are the main components of

Android? Components Description

Activities They dictate the UI and handle the user interaction to the smart phone screen

Services They handle background processing associated with an application.

Broadcast ReceiversThey handle communication between Android OS and applications.

Content Providers They handle data and database management issues.

17http://www.tutorialspoint.com/android/android_application_components.htm

Page 18: Android  1

18

Additional Components

There are additional components which will be used in the construction of above mentioned entities, their logic, and wiring between them. These components are −

Page 19: Android  1

Activity life cycle

19

Page 20: Android  1

Activity life cycle interactive

20

Page 21: Android  1

Slide 21

Questions? Discussion?