[android-developers] Re: "Share" library
Hmmm it never occured to me that I could just use that.
On Aug 22, 4:57 pm, Moto <medicalsou...@gmail.com> 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 <samspad...@gmail.com> 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 <mmur...@commonsware.com> wrote:
>
> > > On Sun, Aug 22, 2010 at 5:10 AM, samspade79 <samspad...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home