三种方式
方式一:简单的进行打开app,延时操作若未打开直接跳gp
function isInstalled(){
var urlFrag = 'somepars';
var the_href = 'market://****';//获得下载链接
window.location.href = "appname://start" + urlFrag;//打开某手机上的某个app应用
setTimeout(function(){
window.location.href = the_href;//如果超时就跳转到app下载页
},800);
}func