I added an intent filter in ApplicationManifest.xml to transfer my application to the Share Through dialog:
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
How can I process a request from another application.
1 Is it possible to distinguish between direct application launch and sharing?
2 How to access shared data?
source
share