android app development india

19
ANDROID APP DEVELOPMENT Point Perfect Technology Solutions www.pptssolutions.com

Upload: point-perfect-technology-solutions

Post on 16-Apr-2017

490 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: Android app development India

ANDROID APP DEVELOPMENT

Point Perfect Technology Solutionswww.pptssolutions.com

Page 2: Android app development India

2

OVERVIEW

1.Introduction To Android2.Introduction To The Platform3.Android Architecture4.Components of Android Application5.Android Building Blocks6.Development Tools7.Conclusion

Page 3: Android app development India

3

INTRODUCTIONTO

ANDROID

Page 4: Android app development India

WHAT IS ANDROID?o The Android operating system is a multi-user

Linux system in which each application is a different user.

o A complete & modern embedded operating system

o A cutting-edge mobile user experience

o A world-class software stack for building applications

o An open platform for developers, users & industry4

Page 5: Android app development India

Why Android Was Created? Full phone software stack including applications Designed as a platform for software development Android is open Android is free Community support 100% Java Phone

5

Page 6: Android app development India

INTRODUCTIONTO

THE PLATFORM : ANDROID

6

Page 7: Android app development India

7

Cellular networking : GSM, EDGE, 3G (hardware dependent)LAN : Bluetooth, and Wi-Fi (hardware dependent)Graphics Hardware AccelerationCamera, GPS and Compass (hardware dependent)Touch screen and accelerometer for motion sensing

Integrated browser based on the open source WebKit engineSQLite for relational data storageMedia support for common audio, video, and still image formats

(MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)Dalvik Virtual Machine optimized for mobile devices

Android Features

Page 8: Android app development India

ANDROID ARCHITECTURE

8

Page 9: Android app development India

Enable applications access data from other applications ,sharing

Providing access to non-code resources

Enables all applications to display alerts in the status bar

Manages the lifecycle of applications

9

Application Framework

Page 10: Android app development India

Written in C/C++ - System C Library(libc)

Display/Graphics(SGL)

Media Libraries

SQLite –RDB engine-light weight

LibWebCore–web browser engine–embeddable web view

10

Libraries

Page 11: Android app development India

Linux Version 2.6 Security, Memory & Process Management Proven driver model Efficient computing resource management Stable and proven OS for mobile platform

11

Linux Kernel

Page 12: Android app development India

Includes a set of core libraries that provides most of the functionality-JAVA

Every Android application runs in its own process

Dalvik VM executes files in the (.dex) format

Device can run multiple VMs efficiently

12

Android Runtime

Page 13: Android app development India

13

Application Components There are four building blocks for an Android application:

Activity -An activity represents a single screen with a user interface.

Service -A service is a component that runs in the background to perform

long-running operations or to perform work for remote processes.

Content Provider -A content provider manages a shared set of application data

Broadcast receiver A broadcast receiver is a component that responds to system-wide broadcast announcements

Page 14: Android app development India

14

Android Building BlocksThese are the most important parts of the Android APIs:

AndroidManifest.xml -the control file-tells the system what to do with the top-level components Activities -an object that has a life cycle-is a chunk of code that does some work

Views -an object that knows how to draw itself to the screen

Intents -a simple message object that represents an "intention" to do something

Notifications -is a small icon that appears in the status bar(SMS messages)-for alerting the user

Services -is a body of code that runs in the background

Page 15: Android app development India

15

“Importance Hierarchy”(in Order Of Importance)Foreground Process -required for what the user is currently doing

Visible Process -holding an Activity - visible to the user on-screen but not in the foreground(on pause)

Service Process -holding a Service - not directly visible to the user- relevant tasks

Background Process -holding an Activity - not visible to the user - can kill at any time(stopped)

Empty Process -doesn't hold any active application components(as a cache to improve start-up time)

Page 16: Android app development India

16

ActivityLifecycle

Page 17: Android app development India

17

Development ToolsThe Android SDK includes a variety of custom tools that help you develop mobile applications on the Android platform.Three of the most significant tools are:

•Java

•Android SDK

•Eclipse IDE

Page 18: Android app development India

CONCLUSION Android is open to all: industry, developers and

users

Participating in many of the successful open source projects

Aims to be as easy to build for as the web.

Google Android is stepping into the next level of Mobile Internet

18

Page 19: Android app development India

THANK YOU

?