问题描述
Smart应用程序横幅 是最近才加入了iOS中6 iOS设备它涉及到简单的加法元标记中,当与移动Safari浏览器检查的应用程序在手机上存在的访问,并显示选项访问者是否要启动或安装应用程序。
Smart App Banners are a recent addition for iOS devices in iOS 6. It involves the simple addition of a meta tag that when visited with Mobile Safari checks for the existence of an App on the phone and shows options for whether the visitor wants to launch or install the App.
<meta name="apple-itunes-app"
content="app-id=myAppId, affiliate-data=myAffiliateData,
app-argument=myArgs" />
Windows应用商店的应用程序连接 的工作方式类似于:
Windows Store app linking works similarly:
<meta name="msApplication-ID" content="myAppId" />
<meta name="msApplication-PackageFamilyName"
content="myMicrosoftAppBuildPackageName" />
<meta name="msApplication-Arguments" content="myArgs" />
有没有类似约定的Android应用程序/谷歌玩?随着机制来传递参数?
Are there any similar conventions for Android Apps / Google Play? With mechanisms to pass arguments?
推荐答案
真的是没有。你可以注册您的应用程序来处理某些URL,如 HTTP://app.mydomain.tld 虽然说是有点令人难以接受的更丰富的Android的乡亲。如果调用,这个网址就会调用与完整的URI的应用程序(也就是将数据传递给它的机制)。如果应用程序没有安装或设置为处理这些URL,浏览器将然后重定向到一个网页服务器上可能会提示安装。
There really isn't. You could register your app to handle certain urls, such as http://app.mydomain.tld although that is somewhat frowned upon by the the more seasoned android folks. If invoked, this url would invoke the app with full URI (which is the mechanism to pass data to it). If the app wasn't installed or set to handle those urls, the browser would then redirect to a page on your server which could prompt for install.
这篇关于智能应用程序横幅; Windows应用商店应用程序的HTML meta标签相当于为Android /谷歌玩?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!