Commit 8609fd34c4454c202fb90de761bb2cd7786f47a3

Authored by 赵康
1 parent 2f27694975
Exists in master

升级到3.1.1版本

解决webview中js方法在4.4以上版本无效的问题
增加了easy2pay网页发送短信的实现

Showing 3 changed files with 5 additions and 6 deletions Side-by-side Diff

android/GameSDKRelease/libs/GameSDK_v3.1.0_proguard.jar
No preview for this file type
android/GameSDKRelease/libs/GameSDK_v3.1.1_proguard.jar
No preview for this file type
android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
... ... @@ -19,7 +19,7 @@ public class MainActivity extends Activity implements GumpSDK.Callback {
19 19  
20 20 private Button btnLoginOrLogout;
21 21  
22   - private String appId = "10022";
  22 + private String appId = "10009";
23 23  
24 24 @Override
25 25 protected void onCreate(Bundle savedInstanceState) {
... ... @@ -47,14 +47,13 @@ public class MainActivity extends Activity implements GumpSDK.Callback {
47 47 payInfo.putString("product", "元宝");
48 48 payInfo.putFloat("amount", 0.0f);
49 49 payInfo.putString("extraInfo", "This is demo!");
50   - payInfo.putString("serverId", "5001");
51   - payInfo.putString("roleId", "41081");
52   - GumpSDK.pay(MainActivity.this, payInfo,"3332768");
  50 + payInfo.putString("serverId", "4019");
  51 + GumpSDK.pay(MainActivity.this, payInfo, "2263806");
53 52 }
54 53 });
55   - GumpSDK.init(getApplicationContext(), appId, "93a27b0bd99bac3e68a440b48aa421ab", "1000");
  54 + GumpSDK.init(getApplicationContext(), appId, "483d8df877b31405c1e8fe4247f02d86", "1000");
56 55 GumpSDK.setLogoShow(true);
57   - GumpSDK.setScreenLandscape(true);
  56 + GumpSDK.setScreenLandscape(false);
58 57 tvVersion.setText("SDK Version:" + GumpSDK.getVersion());
59 58 GumpSDK.start(this);
60 59 }