I have a mobile application for my website and when user register we send them confirmation email.So when user click on confirmation link from mobile device we want to open application instead of browser.
Asked
Active
Viewed 1.2k times
-2
-
3do some minimum searching – droidev Jan 03 '17 at 04:26
-
I done but not get any help. – Nikhil Solanki Jan 03 '17 at 04:35
-
https://www.google.co.in/search?client=ubuntu&channel=fs&q=open+android+from+web+page&ie=utf-8&oe=utf-8&gfe_rd=cr&ei=MSprWNmXFMaL8Qe8opvYAg#channel=fs&q=open+android+app+from+browser – droidev Jan 03 '17 at 04:37
-
Yes it is only for android and what about ios ? – Nikhil Solanki Jan 03 '17 at 04:44
-
http://stackoverflow.com/questions/25883113/open-ios-app-from-browser – droidev Jan 03 '17 at 04:46
-
This is what you are exactly looking for http://stackoverflow.com/a/21727055/5476209 – TapanHP Jan 03 '17 at 05:06
3 Answers
0
You can use android:scheme
to specify your app to be opened from the special link.
In your manifest add
<intent-filter>
<data android:scheme="your.scheme" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
In your website add the link like this:
<a href="your.scheme://other/parameters/">
your app will be launched automatically as this is the only app that handles your.scheme://
type of URIs
Caution: If the user doesn't have the app installed they will get an error.

Sadiq Md Asif
- 882
- 6
- 18
0
When a user opens one of your Dynamic Links, if your app isn't yet installed, the user is sent to the Play Store or App Store to install your app (unless you specify otherwise), and your app opens. You can then retrieve the link that was passed to your app and handle the link as appropriate for your app.

Jaymin Panchal
- 2,797
- 2
- 27
- 31
-
Thanks for your reply Jaymin.But it is possible to do this without using Firebase? – Nikhil Solanki Jan 03 '17 at 04:46
-
That I had not researched about because I have used firebase it provides all the features – Jaymin Panchal Jan 03 '17 at 04:48