Ok I am using also the intentChooser like this
Intent t = new Intent(Intent.ACTION_SEND);
t.setType("text/plain");
t.putExtra(Intent.EXTRA_TEXT, "test");
t.putExtra(Intent.EXTRA_SUBJECT,"found this great
trip");
t.addCategory(Intent.CATEGORY_DEFAULT);
Intent share = Intent.createChooser(t,"Share
with others");
startActivity(share);
It opens mail and messaging correcty with the text.
What do you mean with implement it this way?
On Dec 4, 4:51 pm, theSmith <[email protected]> wrote:
> Im not using intents here actually, its the intent chooser with a type
> of "text/*" that will display it in the chooser's menu. But again it
> doesn't work correctly so you really have to reason to implement it
> this way.
>
> On Dec 4, 10:48 am, Wouter <[email protected]> wrote:
>
> > Could you tell me which intents you have used to share via facebook.
> > i'm also looking for this and share via twitter, ...
>
> > Thanks,
>
> > Wouter
>
> > On Nov 27, 7:43 am, theSmith <[email protected]> wrote:
>
> > > My application is able to detect thefacebookapp (if its installed)
> > > and will attempt toshareviafacebook.
> > > But thats as far as I've gotten. The mobile.facebook.com site opens
> > > and tells me it couldn'tsharemy link.
>
> > > Ultimately this is theFacebookapps problem, as far as I know there
> > > is no documentation for its Intents and this is the limiting factor
> > > for me.
>
> > > -theSmith
>
> > > On Oct 28, 6:08 am, feeling3_4 <[email protected]> wrote:
>
> > > > Hi, guys
>
> > > > "Facebookfor Android" is great, but I just wonder that whether my
> > > > application can use thesharefunction of it. Or, does the ""Facebook
> > > > for Android"" release some apis and let other applications use the
> > > > built in functions like "share" or "feed"?
>
> > > > Any advice is greatly appreciated. Thanks.
--
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