17
Need more info regarding intent-filter tag specified in manifest. I am aware that we can specify data in two forms:
<intent-filter>
<data android:host="com.myHost" android:scheme="content"/>
</intent-filter>
AND :
<intent-filter>
<data android:scheme="content"/>
<data android:host="com.myHost"/>
</intent-filter>
But I wish to know can several combinations exist, like
<intent-filter>
<data android:host="com.myHost" android:scheme="content"/>
<data android:scheme="content"/>
<data android:host="com.myHost1"/>
</intent-filter>
OR:
<intent-filter>
<data android:host="com.myHost" android:scheme="content"/>
<data android:scheme="content"/>
<data android:host="com.myHost1"/>
<data android:scheme="content"/>
<data android:host="com.myHost2"/>
</intent-filter>
In the last case, I wish to know firstly if this can exist & how is it decided that which host to be used for which scheme, as the data tags containing scheme & host can occur in any order.
Please help.