Catch launching from another app

Hello. I want to share some photos with my app on Android. I already added this to AndroidManifest.xml.

<intent-filter>
    <action android:name="android.intent.action.SEND" />
    <data android:mimeType="image/*" />
    <category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
    <action android:name="android.intent.action.SEND_MULTIPLE" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="image/*" />
</intent-filter>

So i can see my app in share menu (It’s sendPhoto).

And now all i want to know is how to catch this event in my application. How to get the links to the images? I googled it a lot but didn’t find anything. I’ll be appreciate any help. Thank you.