Launching own app from Share Via


Last Updated:

  1. pominnz

    pominnz Member This Topic's Starter

    Joined:
    Aug 4, 2010
    Messages:
    9
    Likes Received:
    1
    I've been searching for some resources on how to develop an application that can be launced from the Share Via option on the photo or video gallery and process the list of files passed to it.

    I assume that somehow, you can select several photos/videos then select "Share via" which could launch an application and supply it with the list of selected files, but I can't find any information anywhere.

    If anyone can point me in the right direction, that would be much appreciated.


    Cheers
    Paul
     

    Advertisement
  2. pominnz

    pominnz Member This Topic's Starter

    Joined:
    Aug 4, 2010
    Messages:
    9
    Likes Received:
    1
    I've partly answered my own question while searching the internet.

    Replacing the contents of my intent-filter in the Manifest for the activity I wanted to lauch, got my application appearing on the Shave via list.

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

    Or from the Application tab, replacing the action and category, and adding a Data mimetype.

    Next thing I need to do is work out how to add the checkboxes to the images when sharing from the gallery.
     

Share This Page

Loading...