1. Download our Official Android App: Forums for Android!

Apps Launching own app from Share Via

Discussion in 'Android Development' started by pominnz, Oct 4, 2010.

  1. pominnz

    pominnz Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Aug 4, 2010

    Aug 4, 2010
    9
    1
    6
    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 Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    9
    Joined:
    Aug 4, 2010

    Aug 4, 2010
    9
    1
    6
    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...