Skip to content

Instantly share code, notes, and snippets.

@furkanaskin
Last active November 25, 2018 18:01
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 furkanaskin/7cd5173f0d88366a1e913baaa8d3f5b7 to your computer and use it in GitHub Desktop.
Save furkanaskin/7cd5173f0d88366a1e913baaa8d3f5b7 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.faskn.sliceexample">
<application
//..
<provider
android:name=".MySliceProvider"
android:authorities="com.faskn.sliceexample"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.app.slice.category.SLICE" />
</intent-filter>
</provider>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment