赞
踩
代码如下
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Android WebView Test</title> <script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script> <script> function toClient() { var order = $("#val").val(); alert(order) } function getInfoFromAndroid(){ window.fover.clickonAndroid(); } function fromClinet(str) { $("#fromclient").text("iemi :" + str.iemi + " wifiMac : " + str.wifiMac + " phoneName :" + str.phoneName + " androidVersion :" + str.androidVersion); } </script> </head> <body>Android WebView传递数据Demo <br/> <input type="submit" value="从Android获取信息" oncl
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。