android 中 浏览器调用本地app应用

 
 
  <activity >
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:host="my.a" 
                    android:scheme="m" />
            </intent-filter>
  </activity >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
 <a href="m://my.a/play?a=b">local3</a><br/>
</body>
</html>

posted on 2013-08-29 18:00  郝锡强  阅读(628)  评论(0编辑  收藏  举报

导航