Android applications in the three major components - Activity, Service, Broadcast receiver - passed over by the news of Intent activated,
Intent messaging is a tool to apply the same or different applications running late binding together the components. Intent object itself is a passive data nodes
Structure, which is used to carry an abstract description, the abstract description of operations to be performed on the basic properties. - In the broadcast case, the description is already in place
And what is being annouced [sentence should continue to deeply understand what]. Here there are many independent mechanism for each type of component transfer Intent:
1. An Intent object passed to Context.startActivity () or Activity.startActivityForResult () to start an Activity, or use the saved
Activity in the implementation of an action.
2. An Intent object passed to Content.startService (), initialize a Service or as an ongoing Service delivered a new direction. Similarly, a
Were intent object passed to Context.bindService (), used to create active call between the components and objectives of the Service connection. If the Service has not yet run, then optional
3.Intent object passed to any broadcast methods, such as Context.sendBroadcast (), Context.sendOrderBroadCast (), or
Context.sendStickyBroadCast (), this form of delivery, will be delivered to all interested Intent Broadcastreceiver. Many broadcast originated in
In these circumstances, Android system needs to find Activity, Service, or a broadcast receiver set, intent to respond to a message, and
And in case of need to initialize these components. These messages have nothing in common Intent: broadcast intent only sent to broadcast receiver, will be sent to
activity or service. A Intent passed startActivity (), will be sent to the activity, do not give a service or a broadcast receiver.
Intent of this document describes the object opening. Then introduced Android in intent and component mapping rules - Android how to address that component should receive a message Intent
. Intent is not obvious as to call which specified Component, the process involves the testing Intent potential target object and associated components of Intent filter.