tweet.setOnClickListener(new View.OnClickListener() {
/**
Send a tweet. If the user hasn't authenticated to Tweeter yet, he'll be redirected via a browser
to the twitter login page. Once the user authenticated, he'll authorize the Android application to send
tweets on the users behalf.
*/

The following code should let you authenticate with Twitter. We are using a WebView to display the oAuth screen from Twitter. This is where you will enter the Twitter credentals. Once authenticated, you will go back to the previous Activity from where the tweet will be posted.