androidandroid中的通过网页链接打开本地app

http://blog.csdn.net/zjlovety/article/details/54847980

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<script language="javascript">
function openApp(){
window.location.href = 'm://marc.com/?arg0=marc&arg1=xie'; //app内部
setTimeout(function(){
window.location.href='http://www.wln100.com/Aat/App/index.html';//下载app的网页
},500);

}
</script>

<a href="javascript:openApp()">打开app</a><br/>

</body>

</html>


Uri uri = getIntent().getData();
if (uri != null) {
String test1 = uri.getQueryParameter("arg0");
String test2 = uri.getQueryParameter("arg1");
tv.setText(test1 + test2);
}

http://blog.csdn.net/gf771115/article/details/73177153

http://blog.csdn.net/iceape/article/details/78889855

原文地址:https://www.cnblogs.com/wcLT/p/8485141.html