@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mSsoHandler = new SsoHandler(this, mWeibo); mSsoHandler.authorize(new AuthDialogListener()); }
private boolean doLogin(CallbackContext callbackContext) { mSsoHandler = new SsoHandler(cordova.getActivity(), weibo); mSsoHandler.authorize(new AuthDialogListener(callbackContext), null); return true; }