【发布时间】:2013-12-12 18:17:06
【问题描述】:
我正在尝试从浏览器打开 Android 应用程序。我已经阅读了几个 StackOverflow 线程,描述了该问题的解决方案,这就是我目前所拥有的:
AndroidManifest.xml
<activity
android:name="com.webviewtestapp.MainActivity"
android:label="@string/app_name"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:scheme="Testapp" android:host="launch"/>
</intent-filter>
</activity>
这是 html <a href="Testapp://launch"> open testapp </a
我在 Chrome 中使用 Firefox 浏览器,单击链接会显示一条消息:找不到打开此链接的应用程序
我该如何解决这个问题?
【问题讨论】:
-
嗨 Ashish,你能帮帮我吗,你找到上述问题的解决方案了吗。