Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <activity android:name=".SendMessageActivity">
- <!-- This activity can respond to intents with an action SEND and a content type text/plain -->
- <intent-filter>
- <action android:name="android.intent.action.SEND"/>
- <category android:name="android.intent.category.DEFAULT"/>
- <data android:mimeType="text/plain"/>
- </intent-filter>
- <!-- Needed if you import the sharetarget androidx library. It allows for this activity to be taken into account as a chooser target provider -->
- <meta-data android:name="android.service.chooser.chooser_target_service"
- android:value="androidx.sharetarget.ChooserTargetServiceCompat"/>
- </activity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement