【发布时间】:2014-03-05 07:03:18
【问题描述】:
我正在从浏览器启动 android 应用程序。我在清单中编写了以下代码,用于从浏览器启动应用并成功启动,
<intent-filter>
<data
android:scheme="myapp"
android:host="myhostname" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
我的要求是,如果未安装该应用,我必须重定向到 Google Play 商店。
我怎样才能做到这一点?
【问题讨论】:
-
您用于从浏览器启动应用程序的 url 是什么?
标签: android