Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old October 4th, 2010, 06:45 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default Launching own app from Share Via

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

pominnz is offline  
Reply With Quote
sponsored links
Old October 5th, 2010, 07:12 PM   #2 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
pominnz is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:57 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.