From 5be652e261ef8f3facabc1b1e9a235643b5fff6f Mon Sep 17 00:00:00 2001 From: king Date: Thu, 8 Jan 2015 11:41:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E8=87=B3v2?= =?UTF-8?q?.3.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/AndroidDocument.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) 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(); -- 2.0.0