title: Android - redirect to store if app not installed (launch from website)
body: <p>We have an android app that is launched when the user is redirected to a custom protocol.
  We want to have the user redirect to the google/play store for the app if it isn't installed on their device.</p>
  
  <p>For iOS we use something like this: <a href="https://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/1109200#1109200">Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?</a> ... however this doesn't work on android.</p>
  
  <p>This is the basic workflow:</p>
  
  <ol>
  <li>user clicks link on our site</li>
  <li>user is redirected to <code>customProtocol://site.com?some=params</code></li>
  <li>if the app is installed the device knows what to do when
  customProtocol:// url is accessed and the app launches ... however
  if the app isn't installed android just gives a page not available
  error page; the solution above for iOS doesn't appear to work.</li>
  </ol>
  
  <p>Any thoughts on how we can achieve this on android? Is it just not possible on android?</p>