Sugree

skip to navigation

Twitter Android SDK

Facebook Android SDK inspired me to develop something similar for Twitter. One line to rule them all.

Twitter mTwitter = new Twitter(R.drawable.twitter_icon);
mTw.authorize(getContext(),
              mHandler,
              PrivateData.TWITTER_CONSUMER_KEY,
              PrivateData.TWITTER_CONSUMER_SECRET,
              new LoginDialogListener());

As of now, it provides dialog to get OAuth token in one shot. The code is published at github. The usage of this library is just to put its jar in libs.

I have forked Facebook Android SDK as a new project to make it jar-able.

For both of them, run ant jar to build jar file.

+

Main menu

+++++++++++++++++++++++++++++++