コード例 #1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    mSsoHandler = new SsoHandler(this, mWeibo);
    mSsoHandler.authorize(new AuthDialogListener());
  }
コード例 #2
0
 private boolean doLogin(CallbackContext callbackContext) {
   mSsoHandler = new SsoHandler(cordova.getActivity(), weibo);
   mSsoHandler.authorize(new AuthDialogListener(callbackContext), null);
   return true;
 }