简体   繁体   English

Android 深层链接和应用链接混淆

[英]Android Deep Links and App Links Confused

Can anyone explain in real life example what is the difference between谁能在现实生活中解释一下两者之间的区别

App Links - https://developer.android.com/training/app-links/deep-linking.html应用链接 - https://developer.android.com/training/app-links/deep-linking.html

Deep links - https://developer.android.com/training/app-links/index.html深层链接 - https://developer.android.com/training/app-links/index.html

App Indexing - https://developer.android.com/studio/write/app-link-indexing.html应用索引 - https://developer.android.com/studio/write/app-link-indexing.html

in Android?在安卓中?

Have read too many posts and documentations, but still cannot get the exact gist.阅读了太多帖子和文档,但仍然无法获得确切的要点。

I understand that App links works with Android 6.0 and Deep Links with 4.2.我了解 App 链接适用于 Android 6.0,Deep Links 适用于 4.2。 but in performance, they are doing the similar task.但在性能方面,他们正在做类似的任务。

App Indexing allows Google to crawl your app content (as it would on a website). App Indexing 允许 Google 抓取您的应用内容(就像在网站上一样)。

Deep Links vs Android App Links:深层链接与 Android 应用链接:

App Links are just deep links that have been verified for a website, AND allows opening URLs in the associated app directly without asking the user to select the app (via the disambiguation dialog).应用程序链接是已经被验证的网站只是深层链接,允许在相关的应用中打开网址的情况下直接询问用户选择的应用程序(通过消除歧义对话框)。 With App Links, your app designates itself as the default handler of a given type of link (though the user can override it from device system settings)使用应用链接,您的应用将自己指定为给定类型链接的默认处理程序(尽管用户可以从设备系统设置中覆盖它)

A nice overview of the differences is at https://developer.android.com/training/app-links/verify-site-associations?authuser=0差异的一个很好的概述是在https://developer.android.com/training/app-links/verify-site-associations?authuser=0

Also see comparison table below, lifted from the above link at the time of writing另请参阅下面的比较表,在撰写本文时从上面的链接中提取android-app-links-and-deep-links

If you have an app or are developing an app, app indexation and deep linking are things you definitely need to be paying attention to.如果您有应用程序或正在开发应用程序,应用程序索引和深层链接是您绝对需要注意的事情。 Basically, Google wants to treat your app like a website.基本上,谷歌希望将您的应用程序视为网站。 It wants to crawl it and index it so that search results can return specific pages from an app in mobile searches.它希望对其进行抓取和索引,以便搜索结果可以从移动搜索中的应用程序返回特定页面。 That ability to return specific pages within an app?在应用程序中返回特定页面的能力? That's deep linking.这就是深层链接。

What is Deep Linking?什么是深度链接?

Deep linking, in a general sense, involves linking to specific content within a website or app, rather than to the homepage.一般而言,深层链接涉及链接到网站或应用程序中的特定内容,而不是链接到主页。 Here we're talking in particular about getting specific elements of an app to show up in search results on a mobile device, allowing users to open an app directly from a search results page.在这里,我们特别讨论了让应用程序的特定元素显示在移动设备上的搜索结果中,从而允许用户直接从搜索结果页面打开应用程序。 Note: Users will only see this prompt if they have the particular app installed.注意:只有安装了特定应用程序的用户才会看到此提示。

Photo:照片: 示例

What Is App Indexing?什么是应用索引?

App indexing is the result of getting your app in Google's index to enable deep linking.应用索引是将您的应用纳入 Google 索引以启用深层链接的结果。 By allowing Google to index pages within your app, features (or promotions) within the app can begin showing up in users' mobile searches, driving visits (and hopefully conversions) to the app.通过允许 Google 为您的应用内的页面编制索引,应用内的功能(或促销)可以开始出现在用户的移动搜索中,从而推动对应用的访问(并有望带来转化)。

What is an App Linking with the example of Facebook以 Facebook 为例,什么是 App Linking

When someone shares content from within an app that has Facebook App Links applied, anyone clicking on that link will be able to access that content through the app.当有人在应用了 Facebook 应用链接的应用中分享内容时,任何点击该链接的人都可以通过该应用访问该内容。 This can be done using an app alternative to existing web content, or app-only content, and works either from 'web to app' or 'app to app'.这可以使用替代现有网络内容的应用程序或仅应用程序的内容来完成,并且可以从“网络到应用程序”或“应用程序到应用程序”工作。 The feature works with Android, iOS and Windows phones该功能适用​​于 Android、iOS 和 Windows 手机

Photo:照片: 示例

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM