If the app is in my phone, it will start it,but if it's not, download it. here is the code:
window.location = 'intent://' + schemeUrl + '#Intent;scheme=' + scheme + ';end';
setTimeout(function() {
self._gotoDownload(startTime);
}, self.openTime);
It works well in other browsers, but'in chrome, if my phone has not install this app,it will open a error page.I try to use iframe to load the 'intent...', but it still not work.