Each Intent Filter must have one (and only one) action tag.

What conclusions follow from this rule? One Activation - One Action? But, after all, an application can consist of several Activiti and the download is registered with some specific Activiti.

It means that the desired Activity will open in the application, bypassing the Boot Activation or do you need to redirect the action from the Boot to the Activit that performs the action?

    1 answer 1

    The question is not very clear, but the quote you specify does not prohibit the use of several filters for one activation :

    <activity android:name=".MyActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/html" /> </intent-filter> </activity> 

    When launching, the k-l activiti through a specific intent will launch exactly the necessary activity. Those. No intermediate / start / main activations will be launched (unless you do not specifically register this yourself).

    • well, yes, thanks, of course I was stupid in understanding this quotation. I did not think about a few filters. - TimurVI
    • Updated the question, maybe a little clearer explained. - TimurVI
    • @TimurVI, Still not very clear, but the answer added - YuriiSPb
    • what I wanted to know. I agree with the question, somehow messy. It was meant to link the launch of Activity with a specific action and the entire application, in which by default, for example, by clicking on the application icon, another Activity is registered. You answered my question in general. - TimurVI