title: How to launch app on click of url in android
body: <p>Launch app when click on url if app installed on device. if app not installed on device,  open playstore.</p>
  <pre><code>&lt;activity android:name=&quot;.ui.NewsCardActivity&quot;&gt;
      &lt;intent-filter&gt;
          &lt;data android:scheme=&quot;app&quot; /&gt;
          &lt;action android:name=&quot;android.intent.action.VIEW&quot; /&gt;
          &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt;
          &lt;category android:name=&quot;android.intent.category.BROWSABLE&quot; /&gt;
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>