Comment configurer le filtre d'intention pour l'URL avec redirection?Android Filtre d'intention pour l'URL avec redirection
Ce filtre ne fonctionne pas pour l'URL ci-dessus.
<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:scheme="http"/>
<data android:scheme="https"/>
<data android:host="foosubdomain.foodomain.com"/>
</intent-filter>
Ce filtre fonctionne pour l'URL ci-dessus. Mais ce n'est pas ce dont nous avions besoin. Je dois filtrer par l'hôte en partie redirect foosubdomain.foodomain.com
<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:scheme="http"/>
<data android:scheme="https"/>
<data android:host="mail.mailserverXXX.com"/>
</intent-filter>
Cela ne fonctionne pas ou je me trompe quelque part. Je n'ai pas non plus besoin de mentionner le serveur de messagerie spécifique dans le filtre. –
@pier_nasos, voir mise à jour – DEADMC
DEADMC, merci pour l'aide. Malheureusement, le serveur de messagerie ajoute une redirection vers les URL. –