0
我有两个应用程序,AppOne和AppTwo。从网页启动Android应用程序
AppOne是一个简单的应用程序,它出口的活动,以便它可以从网页上推出了具有以下意向筛选
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="what should be the host for a local page?"
android:scheme="what should be the scheme?" />
</intent-filter>
AppTwo包含具有web视图的活动。在WebView中,我加载本地HTML页面,用的index.html以下HREF
<A href="intent://[what should be this URI]">launch app</A>
具体来说,我想知道
- 应该是什么本地加载页面的主机名?
- 该方案应该按照哪种方案进行?
感谢
感谢您的回复。我从某个地方读到,使用自己的方案并不是一个好主意。 – iuq