I want to reduce the resolution/size of a picture I received via share intent and I only have its URI. The pictures can be in different formats and I may receive several pictures at once. I used the following intent-filter:
<intent-filter android:icon="@drawable/icon" android:label="Share">
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
<data android:mimeType="image/*" />
</intent-filter>
How can I do it?
Do I have to save the picture(s) to the SD card again with another name if I want to share it/them again with another app?
Thanks!