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
Clarify the Firebase Connections
Android - Multi-Line Linear Layout
Android 'Unable to Add Window -- Token Null Is Not for an Application' Exception
Android Emulator Won't Run Application Started from Eclipse
Espresso - How to Check If an Activity Is Launched After Performing a Certain Action
Android Copy/Paste from Clipboard Manager
Java.Lang.Illegalargumentexception: Can Only Use Lower 16 Bits for Requestcode
How to Use a Timertask to Run a Thread
How to Tell If the Screen Is on in Android
Put a Progressbar on Actionbar
Set Font for All Textviews in Activity
Receiver Not Registered Exception Error
How to Do Page Flip/Turn/Curl Effect in Android
Android Set Button Background Programmatically