How to launch apps (facebook/twitter/etc) from mobile browser but fall back to hyperlink if the app isn't installed
问题 I am hoping there might be some way of detecting whether or not an uri:scheme is registered on a mobile device from within the browser. IE: I\'d like to check if the facebook, twitter, pinterest apps are installed and can be launched from their associated uri:scheme. if(fb_isInstalled) { // href=\"fb://profile/....\" } else { // href=\"http://m.facebook.com/...\" } Basically if the user has installed facebook, then launch the app, but fall back to the mobile version of the fb website if the