this.callbackContext = callbackContext;
Intent intent = new Intent(cordova.getActivity(), TwitterLoginActivity.class);
cordova.setActivityResultCallback(this);
cordova.getActivity().startActivityForResult(intent, 1);
return true;
in activity class call twitterlogin method using twitter4jcore jar
requestToken = twitter.getOAuthRequestToken(TWITTER_CALLBACK_URL);
this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(requestToken.getAuthenticationURL())));