title: What does Google Now use to determine the App to search with?
body: <p><a href="https://developer.android.com/guide/components/intents-common.html#SearchOnApp" rel="nofollow">The Google Documentation</a>.</p>
  
  <p>I need to have my App called on searches in the style:</p>
  
  <blockquote>
    <p>search for cat videos on youtube</p>
  </blockquote>
  
  <p>How does Google Now determine which App should be called? Obviously, it takes <code>youtube</code> in the example case, but how is that used?</p>
  
  <p>The reason for my question, is that the App that I am working on does not get called when I provide a character for character correct search on the Apps name. The Apps name has 3 words, would that be an issue? Is there a way that I can provide multiple strings for Google Now to react upon to ensure my App gets a chance to fire.</p>
  
  <p>When I issue this test command, the App is called perfectly:</p>
  
  <blockquote>
    <p>adb shell am start -a com.google.android.gms.actions.SEARCH_ACTION
    --es query "Bang" com.package.name</p>
  </blockquote>
  
  <p>An example command I would give might be:</p>
  
  <blockquote>
    <p>search for Bang on TV Search Engine</p>
  </blockquote>