標籤:http io ar os sp java on log cti
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>無標題文檔</title>
</head>
<body>
<script language="JavaScript" type="text/javascript">
function share2ishijian() {
window.slkj.shareGameResult(‘http://tenapp.XXXX.com/weixin/Test1.aspx‘, ‘http://tenapp.XXXX.com/Weixin/images/glogo1.jpg‘, ‘測一測你能不能當賭神‘);
}
function testFunc()
{
window.location.href="objc://shareIOSGameResultWithTitle:withShareURL:withPicURL:/測試";
window.location.href="objc://shareIOSGameResult:/測試";
}
function testClick(cmd,Title,ShareURL,PicURL)
{
window.location.href="objc://"+cmd+":/"+encodeURIComponent(Title)+":/"+encodeURIComponent(ShareURL)+":/"+encodeURIComponent(PicURL);
}
function testClick2(cmd,parameter1)
{
window.location.href="objc://"+cmd+":/"+parameter1;
}
</script>
<input type="button" onclick="share2ishijian()" value="安卓分享" /><br/>
<input type="button" onclick="testClick(‘shareIOSGameResultWithTitle‘,‘測一測你能不能當賭神‘,‘http://tenapp.XXXX.com/weixin/Test1.aspx‘, ‘http://tenapp.XXXX.com/Weixin/images/glogo1.jpg‘)" value="IOS分享" />
</body>
</html>
網頁調用手機端的方法