I'm testing JTwitter on an android app.
I've included the libraries and all. When I run the app in the emulator, it gives the error 'Unforunately AppName has stopped'.
What am I doing wrong?
Code:
OAuthSignpostClient oauthClient = new OAuthSignpostClient(
consumerKey,
consumerSecret, "oob");
oauthClient.authorizeUrl();
String v = OAuthSignpostClient.askUser("Please enter the verification PIN from Twitter");
oauthClient.setAuthorizationCode(v);
String[] accessToken = oauthClient.getAccessToken();
Twitter twitter = new Twitter("thameera", oauthClient);
System.out.println(twitter.getStatus("thameera"));
I've included the libraries and all. When I run the app in the emulator, it gives the error 'Unforunately AppName has stopped'.
What am I doing wrong?