android fundamentals - basic concept

9
Android Fundamentals Basic Concept facebook.com/apex .tgi twitter.com/ ApextgiNoida pinterest.com/ apextgi

Upload: apex-tgi

Post on 23-Jan-2015

120 views

Category:

Technology


0 download

DESCRIPTION

Android Applications are Collections of reusable components. An Android App may have multiple entry points, and may use components from other applications. In Android, the flow of user interaction across one or more applications is called a “Task.” www.apextgi.in

TRANSCRIPT

Page 1: Android Fundamentals - Basic Concept

Android Fundamentals Basic Concept

facebook.com/apex.tgi

twitter.com/ApextgiNoida

pinterest.com/apextgi

Page 2: Android Fundamentals - Basic Concept

Fundamentals

• Android Applications are Collections of reusable components.

• An Android App may have multiple entry points, and may use components

from other applications.

• In Android, the flow of user interaction across one or more applications is

called a “Task.”

Page 3: Android Fundamentals - Basic Concept

Task

• A user views a list of messages in a Messaging App

• They tap a message on the list to view that particular message

• They then tap [View Contact], which opens the Contacts App

• Then they call the contact, which opens the Phone App.

• The user views all of this as a Single Task, even though it spans multiple

applications.

Page 4: Android Fundamentals - Basic Concept

Android Building Blocks

• Activity

• Service

• Content Provider

• Broadcast Receiver

Page 5: Android Fundamentals - Basic Concept

Android Building Blocks

Activity

A unit of User Interface interaction.

Service

A background task that may be active but is not visible on the screen.

Broadcast Receiver

performs an action in response to a message (Intent) from some other

component.

Page 6: Android Fundamentals - Basic Concept

Android Building Blocks

Content Provider

An object used to work with data.

Exposes methods to create, read, update, and delete data.

Accessed via a URI.

Analogous to a RESTful web service.

Page 7: Android Fundamentals - Basic Concept

Android Intent

• An Intent is an object that describes some “function” that one activity requests

some other activity to perform.

• Android App can describe multiple intents, the system is responsible for

finding Activities that match each intent.

• Android activities are “loosely coupled” and they are joined by Intents.

Page 8: Android Fundamentals - Basic Concept

Android Intent

• A Activity is registered themselves to respond to several intents.

• An activity in an app can respond to an Intent sent from some other android

app.

• Unlike traditional Android applications tasks are controlled via Intents

(messages from one component to another) don’t need callback methods to

control the program flow.

Page 9: Android Fundamentals - Basic Concept

http://www.apextgi.in

Thank YouApex TG India

E-20 , Sector 63, Noida

0120 – 4029000/9024/9025/

9027

+91-9953584548

Email id: [email protected]

Stay Connected with us for more PPT on Android