Skip to content

Instantly share code, notes, and snippets.

@Astroa7m
Last active October 25, 2022 13:39
Show Gist options
  • Save Astroa7m/d89a68a5838b409d5fa222cd16b5ede0 to your computer and use it in GitHub Desktop.
Save Astroa7m/d89a68a5838b409d5fa222cd16b5ede0 to your computer and use it in GitHub Desktop.
Adding intent filter in our manifest file
<manifest ...>
<application
...>
<activity
....>
....
<intent-filter >
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE"/>
<action android:name="android.intent.action.VIEW" />
<data
android:host="@string/host"
android:path="@string/path_to_existed_user"
android:scheme="@string/scheme" />
</intent-filter>
...
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment