0

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.

Piotr Olaszewski
  • 6,017
  • 5
  • 38
  • 65
SantinoDu
  • 43
  • 4

1 Answers1

0

Well,after so many days,there is still nobody give me the answer.But I found the answer just now. See theopen an app in chrome in android

works well in my test, thanks.

Community
  • 1
  • 1
SantinoDu
  • 43
  • 4