How do get a reference to the file chosen in a action.SEND
Good morning,

I am using the following code so that my app shows up when the user chooses a Share option on an image:


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

I am unable to figure out how to get the image or a Uri to the image when the user chooses my app.

Any help is appreciated.
How do get a reference to the file chosen in a action.SEND
===

Good morning,

I am using the following code so that my app shows up when the user chooses a Share option on an image:


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

I am unable to figure out how to get the image or a Uri to the image when the user chooses my app.

Any help is appreciated.