Commit e4307bd087860b5571f775ec6a78aa7de5a56a89

Authored by 赵康
1 parent 53dd88a4db
Exists in master

modify the method of init

Showing 2 changed files with 4 additions and 2 deletions Side-by-side Diff

android/GameSDKRelease/libs/GameSDK_proguard_v2.0.jar
No preview for this file type
android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
... ... @@ -49,10 +49,12 @@ public class MainActivity extends Activity implements GumpSDK.Callback {
49 49 payInfo.putString("product", "元宝");
50 50 payInfo.putFloat("amount", 0.0f);
51 51 payInfo.putString("extraInfo", "This is demo!");
  52 + payInfo.putString("serverId", "B4003");
  53 + payInfo.putString("roleId", "10010");
52 54 GumpSDK.pay(MainActivity.this, payInfo);
53   - }
  55 + }
54 56 });
55   - GumpSDK.init("10009", "483d8df877b31405c1e8fe4247f02d86", "301596413332339", "1000", "4003", "120");
  57 + GumpSDK.init("10014", "7b9d31aa17b849b238ab79cef0733041", "301596413332339", "1000");
56 58 GumpSDK.start(this);
57 59 }
58 60