码迷,mamicode.com
首页 > 移动开发 > 详细

Android GUI Building Blocks

时间:2015-04-29 18:56:55      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:

说明:此笔记为“Android开发”学习视频的笔记,链接如下:http://open.163.com/movie/2010/1/8/D/M79HE97C3_M79HEQJ8D.html

 

一, Activity: A represnetation of a user doing something,

例子:显示联系人列表并且选中一个联系人

Activity的三种状态:Stopped, Paused,Active

二, Service: an application or an applicaton component that doesn‘t have a user interface

例子:媒体播放器

三, Broadcast Receiver:

1,Receive and react to "broadcasts"

2,Don‘t have a user interface, but can invoke Activities that do

3,Create by extending the Android BroadcastReceiver class

4,Example: An application wants to be notified when a photo is taken on the device

 

四,Content Provider

1,Make‘s an application‘s data avaliable to other apps, and can also be used by the defining app itself

2, Example: Make contacts avaliable to other apps

 

五,Intents: An “intent” is an asynchrounous message sent from one Activity to another

 

Android GUI Building Blocks

标签:

原文地址:http://www.cnblogs.com/geekliu/p/4466644.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!