Android Intent filter for url with redirect -




how setup intent filter url redirection?

https://mail.mailserverxxx.com/m/redirect?url=http://foosubdomain.foodomain.com/#object?id=e1162d22-222b-4522-2210-c222102d6022

this filter not work url above.

 <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> 

this filter works url above. not needed. need filter host in redirect part 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> 

well bad news. after long check found intent-filter doesnt parse after question mark

in other words link

https://mail.mailserverxxx.com/m/redirect?url=http://foosubdomain.foodomain.com/#object?id=e1162d22-222b-4522-2210-c222102d6022

intent-filter works part

https://mail.mailserverxxx.com/m/redirect

so there impossible write universal solution problem.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -