Skip to content

Instantly share code, notes, and snippets.

@aaustin
Created October 3, 2015 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaustin/1b35a1dfc6dfe5290867 to your computer and use it in GitHub Desktop.
Save aaustin/1b35a1dfc6dfe5290867 to your computer and use it in GitHub Desktop.
<activity ...>
<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="yoursite.com" />
<data android:scheme="https" android:host="yoursite.com" />
</intent-filter>
</activity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment