2014年2月10日

Activity

摘要: 每个Activity ,在AndroidManifest.xml中都必须有描述,这样才能使用 startActivity(); To be of use with Context.startActivity(), all activity classes must have a corresponding declaration in their package's AndroidManifest.xml. 阅读全文

posted @ 2014-02-10 11:31 小白说我是2B 阅读(143) 评论(0) 推荐(0)

Intents and Intent Filters

摘要: 作用: 1.start an activity 2.start a service 3.deliver a broadcast 有2种类型的Intents 1.explicit 显示 :明确指定要启动哪个activity 2.implicit 隐式 :并不指明启动哪个activity或application,the Android system finds the appropriate component to start by comparing the contents of the intent to ... 阅读全文

posted @ 2014-02-10 11:11 小白说我是2B 阅读(158) 评论(0) 推荐(0)

导航