`
zsjg13
  • 浏览: 138419 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论

Intents and IntentFilters

阅读更多

One area where Android shines is the flexibility it provides in communicating between components, and

sharing data between them. 利用的就是Intent- and IntentFilter-based events.

 

Intent: is a description of an action you want to happen.

IntentFilter: is a means for a component to declare it's capable of handling a specific Intent.

 

Intents themselves don't do any work; rather, they describe something that needs to be done.

 

If a component wants to perform an action, it declares that intention with an Intent and hands it off to the

system. The system then decodes the Intent and decides which other component, Activity, Service, or

BroadcastReceiver, can handle the job.

 

Also, if an Activity, BroadcastReceiver, or Service wants to offer some action to be available to other

components, it declares an IntentFilter.

 

未完。。。。

 

 

分享到:
评论

相关推荐

    Intents and Intent Filters 理论中英双文

    内含四个pdf文件,分别为 Intent and Intent-filter Intents and Intent Filters理论英文 Intents and Intent Filters理论中文 Intent入门指南 详尽介绍关于android intent

    Android Intents and Intent Filters(一)

    Android Intents and Intent Filters(一) 对应博客地址:http://blog.csdn.net/michael__li/article/details/6947545

    Android Intents and Intent Filters(二)源代码

    Android Intents and Intent Filters(二)源代码 对应博客 http://blog.csdn.net/michael__li/article/details/6950127

    Android系列教程之十二:Intents and Intent Filters(三).docx

    Android系列教程之十二:Intents and Intent Filters(三)

    Android Intent和Intent Filter详解

    Intents and Intent Filters  三种应用程序基本组件——activity, service和broadcast receiver——是使用称为intent的消息来激活的。Intent消息传递是一种组件间运行时绑定的机制. intent是Intent对象, 它包含了...

    Apress.Android.Recipes.2nd.Edition.2012

    Understanding Intents and Intent Filters Chapter 12. Advanced Android Topics BOOK DETAILS Paperback: 960 pages Publisher: Apress; 2nd Edition (December 2012) Language: English ISBN-10: 1430246146 ...

    Android开发指南中文版

    意图和意图过滤器Intents and Intent Filters 43 意图过滤器Intent filters 47 通常情况Common cases 51 使用意图匹配Using intent matching 52 数据存储Data Storage 52 概览Storage quickview 52  系统偏好:...

    Android开发宝典.rar

    意图和意图过滤器Intents and Intent Filters 43 意图过滤器Intent filters 47 通常情况Common cases 51 使用意图匹配Using intent matching 52 数据存储Data Storage 52 概览Storage quickview 52  系统...

    Android开发指南中文版-----应用程序框架

    意图和意图过滤器Intents and Intent Filters 43 意图过滤器Intent filters 47 通常情况Common cases 51 使用意图匹配Using intent matching 52 数据存储Data Storage 52 概览Storage quickview 52 ? 系统偏好:快速...

    Android意图和意图过滤器

    1 意图和意图过滤器Intents and Intent Filters 2 意图对象Intent Objects 3 意图解析Intent Resolution 4 过滤器与安全Filters and security

    Apress.Android.Apps.for.Absolute.Beginners.2nd.edition

    Anybody can start building simple apps for the Android platform, and this book will show you how! Recently updated to include Android ...Understanding Intents and Intent Filters Advanced Android Topics

    Android开发指南

    意图和意图过滤器Intents and Intent Filters 一个应用程序的三个核心组件-活动,服务和广播接收器是通过消息即意图(Intents)来激活的。Intent消息传送是相同或不同应用中组件运行时晚绑定的一种机制。意图本身...

    Android开发指南中文版.pdf 清晰版

    意图和意图过滤器Intents and Intent Filters............................. 43 意图过滤器Intent filters........................................ 47 通常情况Common cases........................................

    Professional Android 4 Application Development 源代码

    Creating Intent Filters and Broadcast Receivers Chapter 6: Using Internet Resources Downloading and Parsing Internet Resources Using the Download Manager Using Internet Services Connecting to Google ...

    The Busy Coders Guide to Android Development最终版2019

    Intents, Intent Filters Broadcasts and Broadcast Receivers Tutorial #15 - Sharing Your Notes Services and the Command Pattern Tutorial #16 - Updating the Book Tutorial #17 - Supporting Large Screens ...

    CommonsWare.The.Busy.Coders.Guide.to.Android.Development.Version.8.2.2017

    Intents, Intent Filters Broadcasts and Broadcast Receivers Tutorial #15 - Sharing Your Notes Services and the Command Pattern Tutorial #16 - Updating the Book Large-Screen Strategies and Tactics ...

    一本android的好书beginning android 2 和 源码

    ■Chapter 17: Creating Intent Filters What’s Your Intent? Pieces of Intents Intent Routing Stating Your Intent(ions) Narrow Receivers The Pause Caveat ■Chapter 18: Launching Activities and ...

Global site tag (gtag.js) - Google Analytics