zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    5.9上午
    5.4下午
    5.4上午
    5.2上午
    4.19下午
    4.18上午
    4.17下午
    4.17上午
    4.12下午
    4.13下午
  • 原文地址:https://www.cnblogs.com/wcLT/p/8485141.html
Copyright © 2011-2022 走看看