title: Intent Filter for opening up only the browser android
body: <p>My app has an activity with the following intent filter.</p>
  
  <pre><code>&lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW"&gt;&lt;/action&gt;
              &lt;category android:name="android.intent.category.DEFAULT"&gt;&lt;/category&gt;
              &lt;category android:name="android.intent.category.BROWSABLE"&gt;&lt;/category&gt;
              &lt;data android:host="m.testsite.com"&gt; &lt;/data&gt;
              &lt;data android:scheme="http"&gt;&lt;/data&gt;
              &lt;data android:pathPattern=".*"&gt;&lt;/data&gt;
   &lt;/intent-filter&gt;
  </code></pre>
  
  <p>This opens up any link with the url <a href="http://m.testsite.com/anypath" rel="nofollow">http://m.testsite.com/anypath</a>  in the app . However sometimes it so happens that there is no data inside the app with respect to the path and I need to transfer him back to the browser only. </p>
  
  <p>What should be the intent-filter for this?</p>
  
  <p>Edit:-Seems like my question was not very clear .The device had two packages listening to the same intent-filter. One was the browser and the other was my app. I was in a situation where in certain cases, I had to target only the browser and not the app for the same intent-filter. I was hoping that there would be some particular action or category which I could target for just the browser alone. However I managed to solve it . I have put my answer below.</p>