title: Accurate market search via intent
body: <p>I have a button that when clicked will search the market for an app. I have two examples. In the first example the user is brought to a search result page in the market app. In the second example the user is brought to the correct page but the browser is used. How can I change this code to bring me to my intended results?</p>
  
  <p>Let me provide code (nevermind that the app names are different):</p>
  
  <p>Example A:</p>
  
  <pre><code>   Intent i = new Intent(Intent.ACTION_VIEW);
     i.setData(Uri.parse("market://search?q=com.amazon.kindle"));
     startActivity(i);
  </code></pre>
  
  <p>Results of Example A:</p>
  
  <p><img src="https://i.stack.imgur.com/jPWjq.png" alt="enter image description here"></p>
  
  <p>Example B: </p>
  
  <pre><code>  Intent i = new Intent(Intent.ACTION_VIEW);
    i.setData(Uri.parse("https://play.google.com/store/apps/details?id=com.netflix.mediaclient"));
    startActivity(i);
  </code></pre>
  
  <p>Results of Example B: </p>
  
  <p><img src="https://i.stack.imgur.com/fCR9N.png" alt="enter image description here"></p>
  
  <p>Intended results:</p>
  
  <p><img src="https://i.stack.imgur.com/HKPVz.png" alt="enter image description here"></p>