I succeed to add my app in the \"share\" button in the Android gallery, so if I click on it, my app will start. Can I choose which activity of my app to start? Now it starts th
If you had two activities in your manifest file, say Main
and MediaShare
then it would look something like this:
The android.intent.action.SEND
action and android:mimeType="image/*"
data should go with the activity you want to start when you share an image.
See the page on Receiving Content from Other Apps for more details.