通过URI协议实现浏览器调用手机app
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> </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®ion=杭州&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>