Android:host option is not triggered

123 Views Asked by At

I have the following code in my Manifest file

<activity
    android:name="android.gonglu.me.MainActivity"
    android:label="@string/title_activity_malls" >
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data
            android:host="subdomain.domain.com"
            android:scheme="http" />
    </intent-filter>
</activity>

What I want to happen is that on the browser in the device all links to subdomain.domain.com should open a chooser dailog to choose between the browser or the installed app.

This is not happening.

0

There are 0 best solutions below