26
Prepared by: Osama Abukmail Www.opstime.com

Android

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Android

Prepared by:

Osama Abukmail

Www.opstime.com

Page 2: Android

Android is an Operating System for mobile phones based on Linux kernel developed by Google which aims to provide a rich experience for mobile phone users.

Page 3: Android

The Beginning of Android:

in 2005, Google bought Android, Inc., a teeny tiny startup company

In 2006, rumors surfaced of Google's entry into the cell phone market

Page 4: Android

Open Handset Alliance (OHA)The Android platform is the product of the Open Handset Alliance, a group of organizations collaborating led by Google (Google, HTC, Motorola, Samsung, Intel, Qualcomm, Sprint Nextel, T-Mobile, and NVIDIA) to build a better mobile phone.

On the 5th of November in 2007 OHA has announced Android to public.

On the 12th of November Google released an early look of Android SDK

Page 5: Android

On October 2008 the Android platform is made available under one of the most progressive, developer-friendly open-source licenses (Apache License ).

Going to the OpenSource world. By providing developers a new level of openness that enables them to work more collaboratively, Android accelerated the pace at which new and compelling mobile services are made available to consumers.

Page 6: Android
Page 7: Android

Kernel:- Linux Version 2.6.x for core system services

- Android uses only “Kernel” portion in Linux

Core Libraries- Provides the functionality of the JAVAProgramming Language- Android Application runs in its own process, withits own instance of the Dalvik virtual machine- Dalvik VM: Java based license free VM

•Register based VM, optimization for lowmemory requirements•Executes files in the Dalvik Executable (.dex)format•DX tool converts classes to .dex format

Page 8: Android

Core Libraries: Libc: c standard lib.SSL: Secure Socket LayerSGL: 2D image engineOpenGL|ES: 3D image engineMedia Framework: Core part of Android multi-mediaSQLite: Embedded databaseWebKit: Kernel of web browserFreeType: Bitmap and VectorSufrace Manager: Manage difference windows fordifferent applications

Page 9: Android

Applications Framework:

The applications framework layer has many framework standards for developing applications

Page 10: Android
Page 11: Android
Page 12: Android

Statistics

Page 13: Android

• Android.jar Java archive file containing all of the Android SDK classes necessary tobuild your application.

• Documention.html and docs directory The SDK documentation is providedlocally and on the Web. It's largely in the form of JavaDocs, making it easy tonavigate the many packages in the SDK. The documentation also includes a high-level Development Guide and links to the broader Android community.

• Samples directory The samples subdirectory contains full source code for avariety of applications, including Api Demo, which exercises many APIs. Thesample application is a great place to explore when starting Android applicationDevelopment.

• Tools directory Contains all of the command-line tools to build Androidapplications. The most commonly employed and useful tool is the adb utility(Android Debug Bridge).

• Usb_driver Directory containing the necessary drivers to connect thedevelopment environment to an Android-enabled device, such as the G1 or theAndroid Dev 1 unlocked development phone. These files are only required fordevelopers using the Windows platform

Page 14: Android

• Emulator– Android applications maybe run on a real device or on theAndroid Emulator, which ships with the Android SDK.

• ADB (Android Debug Bridge)– The ADB utility lets you connect to the phone itself and issue rudimentary shell commands, such as copying files to and from the device.

Eclipse IDE with ADT plugin, rich development environment for developing Android applications

Page 15: Android

Download and Install Android SDK

&

Page 16: Android

Create new Android Virtual Device ( AVD )

&

Page 17: Android

Create new Android Virtual Device ( AVD )

&

Page 18: Android

Create new project

&

Page 19: Android

Create new project

&

Page 20: Android

Project Files

&

Page 21: Android

Coding:Programming UI in code

&

Page 22: Android

Coding:

UI inside XML

&

Page 23: Android

Coding:

UI inside XML

&

Page 24: Android

Running and Testing

&

Page 25: Android

Running and Testing

&

Page 26: Android

• Benefits

- Open Platform/License Free- Robust OS Kernel, Innovative Library Packages- Ease App. Development- Rapid Improvement

• Challenges– Performance Consideration– Hard to Integrate for Vendors– Too Much Google Dependent

• Key Factor: Market Response