title: Intent filters not working to open custom app
body: <p>I'm trying to get a URL to open up a custom application that I've written but the intent filters don't seem to be working. I've looked at a dozen or so threads in SO that seem to offer the "solution" but for me it's no good.</p>
  
  <p>I need to have the action from a QR code scan open up my app. Therefore, I'm not inside any browser clicking any links. I'm simply opening my QR scanner, scanning a QR code, and wanting that to fire up my app instead of opening up the default Web browser. The default action for the QR Scanner is to open up the URI in the web browser.</p>
  
  <p>The manifest.xml is this:</p>
  
  <pre><code>&lt;activity
          android:name=".Main"
          android:label="@string/app_name" &gt;
           &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
          &lt;intent-filter&gt;
              &lt;data android:scheme="http" android:host="tinysb.com" android:path="/ecard/" /&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt; 
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
  
      &lt;/activity&gt;
  </code></pre>
  
  <p>My QR code points to <a href="http://tinysb.com/ecard/" rel="nofollow">http://tinysb.com/ecard/</a> so I'm looking for something to start up my app instead of the browser if that link is encountered by any application. Currently, the browser starts up and I'm not even given the option of what to do once I scan the QR code. For now, I'm not passing anything from the Web server, so I just need it to start up my app without passing anything into it. </p>
  
  <p>Since this is all initiated from the QR scanner, there's no activity I can code to intercept the URI.</p>
  
  <p>Many posts have said that setting up the android:scheme per above should do the trick, but it's not working for me at all. </p>
  
  <p>Any help would be much appreciated. </p>