Skip to content

Instantly share code, notes, and snippets.

@ivanbruel
Created July 27, 2015 17:25
Show Gist options
  • Save ivanbruel/ca127c56d3b4cb9530c4 to your computer and use it in GitHub Desktop.
Save ivanbruel/ca127c56d3b4cb9530c4 to your computer and use it in GitHub Desktop.
<activity
android:name="com.hokolinks.activity.HokoActivity"
android:alwaysRetainTaskState="true"
android:launchMode="singleTask"
android:noHistory="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<data android:scheme="<your-app-scheme>"/>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>
<activity
android:name="com.hokolinks.activity.HokoAppLinksActivity"
android:alwaysRetainTaskState="true"
android:launchMode="singleTask"
android:noHistory="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter> <!-- android:autoVerify="true"-->
<data
android:host="<your-app-scheme>.hoko.link"
android:scheme="http" />
<data
android:host=“<your-app-scheme>.hoko.link"
android:scheme="https" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment