在要被启动的activity下加上
-----------Manifest.xml-----------
<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="test.com"
android:pathPrefix="/myapp"
android:scheme="company05" />
</intent-filter>
-----------test.html-----------
<script type="text/javascript">
function openApp(url) {
this.document.location.href = url;
}
openApp("company05://test.com/myapp");
</script>