TA的每日心情 | 无聊 2018-7-9 18:21 |
---|
签到天数: 948 天 [LV.10]以坛为家III
|
楼主 |
发表于 2018-2-16 20:40:15
|
显示全部楼层
import java.lang.String;
import java.lang.Object;
import java.lang.StringBuilder;
import com.longkoo.djddz.AppActivity$1;
import com.longkoo.djddz.AppActivity;
import android.content.Context;
import android.widget.Toast;
import java.lang.CharSequence;
import com.longkoo.djddz.jniHelper;
import java.lang.System;
import java.io.PrintStream;
public void AppActivity$1.onResult(int resultCode,String s,Object obj) //method@2ac4
{
const byte v3 = -1;
const byte v4 = 0;
const String result = "";
switch (resultCode){
case 1:
if (!"10".equals(obj.toString())) {
StringBuilder v1 = new StringBuilder("购买道具:[");
String result = v1.append(s).append("] 成功!").toString();
jniHelper.BuyAllObject(AppActivity.access$0());
Toast.makeText(AppActivity.access$1(this.this$0), "支付成功", v4).show();
label_0063:
System.out.println(result);
return;
}
else {
const String result = "短信计费超时";
goto label_0063;
}
break;
case 2:
StringBuilder v1 = new StringBuilder("购买道具:[");
String result = v1.append(s).append("] 失败!").toString();
Toast.makeText(AppActivity.access$1(this.this$0), "支付失败,请检查应用支付短信权限及网络环境", v4).show();
jniHelper.BuyAllObject(v3);
if (!AppActivity.access$2(this.this$0)) {
goto label_0063;
}
else {
StringBuilder v2 = new StringBuilder("正在切换到");
Toast.makeText(AppActivity.access$1(this.this$0), v2.append(AppActivity.access$3(this.this$0)).append("支付").toString(), v4).show();
AppActivity.access$4(this.this$0, 1);
this.this$0.thirdPay();
goto label_0063;
}
break;
default:
}
StringBuilder v1 = new StringBuilder("购买道具:[");
String result = v1.append(s).append("] 取消!").toString();
Toast.makeText(AppActivity.access$1(this.this$0), "支付取消", v4).show();
jniHelper.BuyAllObject(v3);
if (!AppActivity.access$2(this.this$0)) {
goto label_0063;
}
else {
StringBuilder v2 = new StringBuilder("正在切换到");
Toast.makeText(AppActivity.access$1(this.this$0), v2.append(AppActivity.access$3(this.this$0)).append("支付").toString(), v4).show();
this.this$0.thirdPay();
goto label_0063;
}
}
我刚学习安卓,是个小白只会在这里简单修改结果。其他不懂
|
|