29 Nov 2012


Intent Resolution in Android API

Intent can be classified into two types Explicit and Implicit type based on the target components.
  • Explicit Type- These type of intents designates target components by their name.But generally components  name of other application is unknown to the developers. 
  • Implicit Type- In these type of intents there is no target name but is often used for activating components of other application.Intent filters are used for activating components .
    • firstly filter advertises the capabilities of a components for receiving implicit  intent of advertise type.
    • A components with filter can receive both implicit and explicit intents.
    • Three aspects are consulted when objects are tested against the intent filters .
      • action
      • data
      • category

No comments:

Post a Comment

Translate