In Android, how to prevent error loading page when the browser opens a customized scheme? -
i want open app web page in browser, add button in web page, , java script open customized scheme, example, myapppackage://. if app installed in device, looks good. app can opened.
however, if app not install, error page displayed when clicked button. error page below:
webpage not available
the webpage @ myapppackage:// might temporarily down or may have moved permanently new address.
suggestions:...
is there in java script can rely on avoid such kind of error page? reason use customized url want open app directly without choose list.
Comments
Post a Comment