简体   繁体   English

在Android上使用[ionic Mobile App或浏览器]打开链接

[英]Open Link With [ ionic Mobile App or browser ] on android

I'm working on ionic mobile application, I'd like to send an email containing a link. 我正在开发离子移动应用程序,我想发送包含链接的电子邮件。 The user would have the possibility to open link on my app or in web browser, as shown in screenshot below. 用户可以在我的应用程序或Web浏览器中打开链接,如下面的屏幕快照所示。

If the user chooses to open the link by my mobile app, they will get a specific screen. 如果用户选择通过我的移动应用程序打开链接,他们将获得一个特定的屏幕。 But if they choose to open the link using browser they should be redirected to a web page. 但是,如果他们选择使用浏览器打开链接,则应将其重定向到网页。

How can I do it? 我该怎么做?

在此处输入图片说明

Thanks for your help 谢谢你的帮助

Are you talking about creating deep links for your app? 您是在谈论为您的应用创建深层链接吗? Deep links can allow you to designate a specific uri, which when clicked on ask the user if they want to open it in your app or the browser. 深层链接可让您指定特定的uri,单击该链接可询问用户是否要在您的应用程序或浏览器中打开它。

Take a look at https://developer.android.com/training/app-links/deep-linking 看看https://developer.android.com/training/app-links/deep-linking

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从浏览器打开Ionic应用程序Android - open Ionic app Android from browser ionic应用程序的地理位置错误在浏览器上有效,但在android mobile上无效 - Geolocation error for ionic app is work on browser but not work on android mobile Android Phonegap应用:打开浏览器到应用的链接 - Android phonegap app: open link from browser into app 启用移动网络应用以在用户移动默认浏览器中打开链接,而不是在应用内部打开 - Enable mobile web app to open a link in user mobile default browser instead of opening inside the app 在Ionic应用程序中打开链接 - Open link within the Ionic app Android-意图过滤器,用于链接到浏览器外部打开的应用程序 - Android - intent filter for link to open app OUTSIDE of browser 如何在浏览器中打开rss链接时打开我的Android应用程序? - How to open my Android app when rss link is opened in browser? 如何从C#Xamarin android中的浏览器链接打开应用程序? - How to open app from browser link in c# Xamarin android? 使用HTML链接或JavaScript(而不是Java)从浏览器中打开Android应用 - Open Android App from Browser using HTML Link or JavaScript, not Java 我的Phonegap-App如何在Android浏览器中打开链接? - How can my Phonegap-App open a Link in the Android Browser?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM