Hmmm it never occured to me that I could just use that. On Aug 22, 4:57 pm, Moto <[email protected]> wrote: > I use the share options available by Android devices. Most apps such > as facebook or other twitter apps support the share intent. You can > actually see the intent call on the logcat if you do a share on a > picture.... > > Intent shareIntent = new > Intent(android.content.Intent.ACTION_SEND); > shareIntent.setType("text/plain"); > > Moto > > On Aug 22, 10:53 am, samspade79 <[email protected]> wrote: > > > > > Hi Mark, > > > What I mean is, rather than writing code that talks to Facebook, > > Twitter, etc, I wonder if anyone had already released this as a > > library I can use. I tried googling but "share xxx" brings up > > unrelated stuff. > > > On Aug 22, 10:16 am, Mark Murphy <[email protected]> wrote: > > > > On Sun, Aug 22, 2010 at 5:10 AM, samspade79 <[email protected]> wrote: > > > > Does anyone know of a library that will give me the "share" > > > > functionality for pictures? Ie, how in many apps now you are given the > > > > option of sharing a page or image with facebook, twitter, email, sms, > > > > etc. > > > > I am not quite certain what you mean by your question. > > > > If you are looking to determine what services allow you to "share", > > > construct an ACTION_SEND Intent that describes what you want to share > > > and use PackageManager and queryIntentActivities() to find out details > > > of who all supports that action. > > > > If you are looking to determine what applications *request* > > > ACTION_SEND Intents, I don't think there's a way to do that sort of > > > reverse lookup. > > > > -- > > > Mark Murphy (a Commons > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > _The Busy Coder's Guide to Android Development_ Version 3.1 Available!
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

