title: How to distinguish if the Android app runs on Amazon Kindle Fire?
body: <p>I have recently got my app rejected from Amazon Mobile App Distribution Portal with the argument that the Menu->"Rate the App" option redirects to Google Play Store.</p>
  
  <p>In order to be accepted it should redirect to the Amazon Appstore, the Download URL must be <a href="http://www.amazon.com/gp/mas/dl/android?p=packagename">http://www.amazon.com/gp/mas/dl/android?p=packagename</a> which of course makes sense.</p>
  
  <p>So I need something like:</p>
  
  <pre><code>String url = isKindle 
      ? "http://www.amazon.com/gp/mas/dl/android?p=packagename" 
      : "https://play.google.com/store/apps/details?id=packagename";
  </code></pre>
  
  <p>The question is: how can I distinguish if the app runs on Kindle Fire or on a "native" Android system?</p>