views:

144

answers:

2

Hello everybody!!

Here is I would like to set up in my application, the function of sharing (facebook, twitter, e-mail) as that of YouTube for example but I get lost little. By looking I saw that apparently it would be necessary to use Intent.action_pick_activity but I do not manage to see how using it on my case.

What is that somebody has already implemented this kind of thing? Either what is what somebody knows where I can find examples?? Thanks to all!

A: 

I blogged about using ACTION_SEND and createChooser() for sharing. I do not believe that ACTION_PICK_ACTIVITY has a role here.

CommonsWare
+1  A: 

I don't think that ACTION_PICK will help you out.

Here is a sample code of how to use it.

Macarse
Thank you for your answers!And indeed for what I want to realize it is necessary to use ACTION_SEND and createChooser ()
chris