Date post: | 23-Jan-2015 |
Category: |
Technology |
Upload: | apex-tgi |
View: | 117 times |
Download: | 0 times |
Android Fundamentals Basic Concept
facebook.com/apex.tgi
twitter.com/ApextgiNoida
pinterest.com/apextgi
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.”
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.
Android Building Blocks
• Activity
• Service
• Content Provider
• Broadcast Receiver
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.
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.
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.
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.
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