title: deep linking to redirect to play store if app not installed
body: <p>I am using the concept of deep linking in my app what i actually want is when i share the link from my app its working fine it goes to the activity which i want to open in my app but problem is when a user is not having this app this link is opening through phone's browser and error is displayed of not found but i want to go to the play store if app is not installed. what approach should i try....</p>
  
  <p>manifest.xml:</p>
  
  <pre><code>&lt;activity
          android:name="package"
          android:configChanges="orientation|screenSize|keyboardHidden"&gt;
      &lt;intent-filter android:autoVerify="true"&gt;
          &lt;action android:name="android.intent.action.VIEW" /&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
          &lt;data android:scheme="http"
              android:host="www.example.com"
              android:pathPrefix="/Home_page"&gt;&lt;/data&gt;
          &lt;data android:scheme="https"
              android:host="www.example.com"
              android:pathPrefix="/Home_page"&gt;&lt;/data&gt;
  
      &lt;/intent-filter&gt;
   &lt;/activity&gt;
  </code></pre>