How do I make my app appear in the android menu (share via)?

Asked

Viewed 689 times

3

inserir a descrição da imagem aqui

How do my app appear on this screen?

1 answer

2

You have to add an Activity statement on Androidmanifest.xml <intent-filter> including the action ACTION_SEND and the kind of content it will deal with.

Example for text content:

<intent-filter>
    <action android:name="android.intent.action.SEND" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="text/plain" />
</intent-filter>

For more information see Receiving simple data from other apps.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.