Sunday, January 17, 2010

[android-developers] GMail in intent chooser for twitter intent ???

Hi!

I'm sending a twitter intent from my app, but the intent chooser
brings up GMail as the first choice and Twidroid as the second one.

My question is: Why is GMail popping up for "application/
twitter"? ..It simply starts composing an email message..

I'm sending the intent as read on the Twidroid plugins page:

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "tweet");
sendIntent.setType("application/twitter");
mContext.startActivity(Intent.createChooser(sendIntent, null));

Thanks for any help!

P.S.: Seesmic is also installed, but it doesn't seem to handle this
intent. Isn't there a common twitter intent type that is supported by
all the major clients?

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate