zoukankan      html  css  js  c++  java
  • 通过URI协议实现浏览器调用手机app

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
        <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
        <title>测试Android 和 iOS 地图导航</title>
        <link rel="stylesheet" type='text/css' href="../../css/aui.css"/>
    </head>
    <body>
        <br />
        <br />
        <br />
        <h1>百度地图</h1>
        ios:
        <a href="baidumap://map/direction?mode=driving&origin=30.29168339102277,120.15934515331212&destination=杭州火车东站®ion=杭州">ios百度地图</a>
        android:
        <a href="bdapp://map/direction?origin=latlng:30.29168339102277,120.15934515331212|name:当前位置&destination=杭州火车东站&mode=driving&region=杭州&src=JXAPP">android百度地图</a>
        <br />
        <br />
        <br />
        <h1>高德地图</h1>
        ios:
        <a href="iosamap://path?sourceApplication=applicationName&sid=BGVIS1&slat=30.29168339102277&slon=120.15934515331212&sname=当前位置&did=BGVIS2&dlat=30.297047&dlon=120.21935&dname=杭州火车东站&dev=0&m=0&t=0">ios高德地图</a>
        android:
        <a href="androidamap://route?sourceApplication=softname&slat=30.29168339102277&slon=120.15934515331212&sname=当前位置&dlat=30.297047&dlon=120.21935&dname=杭州火车东站&dev=0&m=0&t=0">android高德地图</a>
        <br />
        <br />
        <br />
        <h1>Apple地图</h1>
        ios:
        <a href="http://maps.apple.com/?saddr=东方豪园&daddr=杭州火车东站">Apple地图</a>
    </body>
    </html>
     
  • 相关阅读:
    sql 自定义函数-16进制转10进制
    编写一个单独的Web Service for Delphi
    Web Service
    无需WEB服务器的WEBServices
    Svn总是提示输入账号密码
    阿里云服务器SQLSERVER 2019 远程服务器环境搭建
    svn客户端使用
    数据库设计规则(重新整理)
    数据库表字段命名规范
    怎样去掉DELPHI 10.3.3 启动后的 security alert 提示窗体
  • 原文地址:https://www.cnblogs.com/zhangchs/p/9166545.html
Copyright © 2011-2022 走看看