diff --git a/doc/AndroidDocument.md b/doc/AndroidDocument.md index 0342446..5670208 100644 --- a/doc/AndroidDocument.md +++ b/doc/AndroidDocument.md @@ -146,7 +146,7 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. //登录请求返回结果 if (requestCode == GumpSDK.LOGIN_REQUEST_CODE) { if (resultCode == RESULT_OK) { - int uid = data.getIntExtra("userId", -1); + String uid = data.getIntExtra("userId", -1); int accountType = data.getIntExtra("accountType", -1); String sessionkey = data.getStringExtra("sessionKey"); @@ -156,22 +156,8 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. } 如上将收到成功登录用的userid,此Id标识唯一用户! -3.用户绑定邮箱,并填写密码 - GumpSDK.boundMail(MainActivity.this); -开发者需要在调用的Activity里重写onActivityResult方法以接受用户的绑定结果,通常如下: - - //绑定邮箱请求返回结果 - if (requestCode == GumpSDK.BOUND_REQUEST_CODE) { - if (resultCode == RESULT_OK) { - int uid = data.getIntExtra("userId", -1); - int accountType = data.getIntExtra("accountType", -1); - String sessionkey = data.getStringExtra("sessionKey"); - } else if (resultCode == RESULT_CANCELED) { - Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show(); - } - } -4.支付功能 +3.支付功能 1)使用gump通行证登录 Bundle payInfo = new Bundle();