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....
manifest.xml:
<activity
android:name="package"
android:configChanges="orientation|screenSize|keyboardHidden">
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http"
android:host="www.example.com"
android:pathPrefix="/Home_page"></data>
<data android:scheme="https"
android:host="www.example.com"
android:pathPrefix="/Home_page"></data>
</intent-filter>
</activity>