Wednesday, 26 November 2014

What is Intent Resolution ?

To resolute intent Action , Data and Category are used for Implicit and Component is used for
Explicit intent.

Resolution of Explicit Intent :-

Explicit intent can be resolved by Component name by creating an Object of required Class from
required Package.

Resolution of Implicit Intent:-

* To start a component with Implicit Intent it has to be registered with intent-filter.

* Intent-filter filters intent based on following criteria:-

i)- If action / category / data is missing nothing will be checked.

ii)- If category is set to default it will not be checked.

iii)- If intents action / category / data is not matching with intent-filters action / category / data ,
the intent is discarded.

iv)- if all parameters matches object of component is created and launched.


No comments:

Post a Comment