Open Android App from Url Using Intent-Filter Not Working

Open Android app from URL using intent-filter not working

use these three in your <intent filter>

<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

Intent filter for opening app from a link not working in Samsung Browser/Firefox etc. but working in Chrome

The browsers itself need to support and implment the browsability. The browsers have to find other activities supporting android.intent.category.BROWSABLE when opening a web-page.

Firefox implements a less invasive experience to the user. When an url is opened which has a deep link to an app, the url bar displays a page action with a little Android head. Clicking on this one will open the link with an Android activity other than a browser.

The behavior of the Android browser and Chrome you observed and made your expectation. So nothing to add to this.

I'm not sure if I can fully talk about the Samsung browser, because the versions I have on my devices might be somehow outdated; but I couldn't make it work with these at all.

The android:autoVerify attribute only makes the app the default on installation. android:host="www.android.com/" is just wrong, because / is the path and not part of the host.

Opening Android app from Web via Intent not working

Now it's working from the twitter app card, and from Facebook, thanks for all the help. My issue with Twitter was that Prerender.io had cached my page, and thus Twitter didn't get the new meta data.

Android app not opening from URL using intent-filter

Solved my issue, as it turns out regular http, https doesn't work. I had to create my custom scheme for this purposes.



Related Topics



Leave a reply



Submit