android - How do I make my web browser app show up in "Open with..." when clicking a link? -


when click link in gmail, how can have web browser show option open said link? , code implement go it? link correct documentation incredibly helpful.

thanks!

you missing declare <intent-filter> in manifest

<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"/> </intent-filter> 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -