📄 d.java
字号:
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import javax.microedition.midlet.MIDlet;
public final class d
implements CommandListener
{
public String a;
private static String f = "http://61.135.154.46/passport/coinmanage.pass?do=search";
public static String b;
private static byte b;
public String c;
public String d;
public static String e;
private static d a;
public static Command a;
public static Command b;
public static Command c;
public static a a;
public static Form a;
public Image a;
public byte a;
public Image[] a;
public d()
{
this.jdField_a_of_type_JavaLangString = "http://wap.sohu.com/game?ch=kz_001";
this.jdField_c_of_type_JavaLangString = "";
this.d = "";
this.jdField_a_of_type_JavaxMicroeditionLcduiImage = null;
this.jdField_a_of_type_Byte = 0;
this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage = new Image[2];
}
public static d a()
{
if (jdField_a_of_type_D == null)
jdField_a_of_type_D = new d();
return jdField_a_of_type_D;
}
public static void a(a parama, byte paramByte)
{
String str1;
String str2;
jdField_b_of_type_Byte = paramByte;
if (jdField_b_of_type_Byte == 0)
{
str1 = "新版客户端下载";
str2 = "点击“确定”下载新的客户端,点击“返回”返回游戏。";
}
else if (jdField_b_of_type_Byte == 1)
{
str1 = "内测号注册";
str2 = "点击“确定”注册内测帐号,点击“返回”返回游戏。";
}
else if (jdField_b_of_type_Byte == 2)
{
str1 = "明细查询";
str2 = "点击“确定”转到查询明细网页,点击“返回”返回游戏";
}
else if (jdField_b_of_type_Byte == 3)
{
str1 = "天劫论坛";
str2 = "点击“确定”转到天劫论坛网页,点击“返回”返回游戏";
}
else if (jdField_b_of_type_Byte == 4)
{
str1 = "大额充值";
str2 = "点击“确定”转到大额充值网页,点击“返回”返回游戏";
}
else if (jdField_b_of_type_Byte == 5)
{
str1 = "骏网一卡通充值";
str2 = "点击“确定”转到骏网一卡通充值网页,点击“返回”返回游戏";
}
else if (jdField_b_of_type_Byte == 6)
{
str1 = "当乐平台";
str2 = "更多精彩游戏尽在当乐网D.cn";
}
else if (jdField_b_of_type_Byte == 7)
{
str1 = "天劫论坛";
str2 = "点击“确定”转到天劫论坛网页,点击“退出”退出游戏";
}
else if (jdField_b_of_type_Byte == 8)
{
str1 = "我的积分";
str2 = "点击“确定”转到我的积分网页,点击“返回”返回游戏";
}
else if (jdField_b_of_type_Byte == 9)
{
str1 = "搜狐游戏中心";
str2 = "点击“确定”转到搜狐游戏中心,点击“返回”返回游戏";
}
else
{
str1 = "未知类型";
str2 = "";
}
try
{
jdField_a_of_type_A = parama;
jdField_a_of_type_JavaxMicroeditionLcduiForm = new Form(str1);
jdField_a_of_type_JavaxMicroeditionLcduiForm.deleteAll();
jdField_a_of_type_JavaxMicroeditionLcduiForm.append(str2);
jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(jdField_a_of_type_JavaxMicroeditionLcduiCommand);
if ((jdField_b_of_type_Byte == 1) || (jdField_b_of_type_Byte == 6) || (jdField_b_of_type_Byte == 7))
jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(jdField_b_of_type_JavaxMicroeditionLcduiCommand);
else
jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(jdField_c_of_type_JavaxMicroeditionLcduiCommand);
jdField_a_of_type_JavaxMicroeditionLcduiForm.setCommandListener(a());
a.a.setCurrent(jdField_a_of_type_JavaxMicroeditionLcduiForm);
return;
}
catch (Exception localException)
{
}
}
public final void commandAction(Command paramCommand, Displayable paramDisplayable)
{
this.jdField_c_of_type_JavaLangString = "";
if (paramCommand == jdField_a_of_type_JavaxMicroeditionLcduiCommand)
try
{
if (jdField_b_of_type_Byte == 0)
{
jdField_a_of_type_A.platformRequest(aj.jdField_a_of_type_JavaLangString);
jdField_a_of_type_A.destroyApp(true);
break label751:
}
if (jdField_b_of_type_Byte == 1)
{
jdField_a_of_type_A.platformRequest("http://wap.monternet.com/reversesubscribe?SessionID=\30SPID=900579\31ServiceID=08090005&SPURL=http://jp.kong.net/menu/test/tianjie/index.jsp");
jdField_a_of_type_A.destroyApp(true);
break label751:
}
if (jdField_b_of_type_Byte == 2)
{
f = f + "&lpuname=" + be.g + "&lpupass=" + be.h;
jdField_a_of_type_A.platformRequest(f);
break label751:
}
if (jdField_b_of_type_Byte == 3)
{
jdField_a_of_type_A.platformRequest(jdField_b_of_type_JavaLangString);
break label751:
}
if (jdField_b_of_type_Byte == 4)
{
if (w.o)
this.d = "CMCC";
else
this.d = "KONG";
if (e == null)
e = "";
this.jdField_c_of_type_JavaLangString = ((w.q) ? "http://61.135.147.34/test_passport/coinpay.pass?do=doDefault" : "http://61.135.147.34/passport/coinpay.pass?do=doDefault") + "&lpuname=" + be.g + "&lpupass=" + be.h + "&>ype=" + e + "&k_ftp=" + be.jdField_a_of_type_Be.f + "&RGN=" + this.d + "&CCODE=" + aq.a().c;
jdField_a_of_type_A.platformRequest(this.jdField_c_of_type_JavaLangString);
break label751:
}
if (jdField_b_of_type_Byte == 5)
{
jdField_a_of_type_A.platformRequest(jdField_b_of_type_JavaLangString);
break label751:
}
if (jdField_b_of_type_Byte == 6)
{
jdField_a_of_type_A.platformRequest("http://peer.downjoy.cn/3906");
jdField_a_of_type_A.destroyApp(true);
break label751:
}
if (jdField_b_of_type_Byte == 7)
{
if ((be.k != null) && (!("".equals(be.k[0].trim()))))
jdField_a_of_type_A.platformRequest("http://202.108.44.145/wap/wapa.php?&wun=" + be.k[0] + "&wpw=" + be.k[1] + "&fid=6");
else
jdField_a_of_type_A.platformRequest("http://wy.kong.net/wap/");
jdField_a_of_type_A.destroyApp(true);
break label751:
}
if (jdField_b_of_type_Byte == 8)
{
if (w.o)
this.d = "CMCC";
else
this.d = "KONG";
if (e == null)
e = "";
this.jdField_c_of_type_JavaLangString = "http://61.135.154.46/passport/recommend.pass?do=index&lpuname=" + be.g + "&lpupass=" + be.h + ">ype=" + e + "&k_ftp=" + be.jdField_a_of_type_Be.f + "&RGN=" + this.d + "&CCODE=" + aq.a().c;
jdField_a_of_type_A.platformRequest(this.jdField_c_of_type_JavaLangString);
break label751:
}
if (jdField_b_of_type_Byte == 9)
jdField_a_of_type_A.platformRequest(this.jdField_a_of_type_JavaLangString);
}
catch (Exception localException)
{
}
else if (paramCommand == jdField_c_of_type_JavaxMicroeditionLcduiCommand)
if ((jdField_b_of_type_Byte == 0) || (jdField_b_of_type_Byte == 9))
{
be.f();
a.a.setCurrent(be.jdField_a_of_type_Be);
be.jdField_a_of_type_Be.a(4);
jdField_a_of_type_JavaxMicroeditionLcduiForm = null;
}
else if ((jdField_b_of_type_Byte == 2) || (jdField_b_of_type_Byte == 3) || (jdField_b_of_type_Byte == 4) || (jdField_b_of_type_Byte == 5) || (jdField_b_of_type_Byte == 8))
{
if (be.jdField_a_of_type_Be.jdField_a_of_type_Ae.jdField_a_of_type_Ae != null)
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(null);
jdField_a_of_type_JavaxMicroeditionLcduiForm = null;
a.a.setCurrent(be.jdField_a_of_type_Be);
}
else if (paramCommand == jdField_b_of_type_JavaxMicroeditionLcduiCommand)
jdField_a_of_type_A.destroyApp(true);
label751: aj.jdField_a_of_type_JavaLangString = null;
}
public final void a(Graphics paramGraphics)
{
if (this.jdField_a_of_type_JavaxMicroeditionLcduiImage == null)
try
{
this.jdField_a_of_type_JavaxMicroeditionLcduiImage = Image.createImage("/lastbg.png");
this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[0] = Image.createImage("/buttong.png");
this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[1] = Image.createImage("/buttonr.png");
}
catch (Exception localException)
{
}
if (this.jdField_a_of_type_JavaxMicroeditionLcduiImage != null)
paramGraphics.drawImage(this.jdField_a_of_type_JavaxMicroeditionLcduiImage, 0, 0, 20);
switch (this.jdField_a_of_type_Byte)
{
case 0:
paramGraphics.drawImage(this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[0], 3, 3, 20);
paramGraphics.drawImage(this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[1], be.d - 3, 3, 24);
paramGraphics.setColor(16777215);
paramGraphics.drawString("确认退出", be.d >> 1, be.e >> 1, 17);
paramGraphics.drawString("否", 13, 5, 20);
paramGraphics.drawString("是", be.d - 13, 5, 24);
return;
case 1:
paramGraphics.drawImage(this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[1], 3, 3, 20);
paramGraphics.drawImage(this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[0], be.d - 3, 3, 24);
paramGraphics.setColor(16777215);
paramGraphics.drawString("更多精彩游戏", be.d >> 1, (be.e >> 1) - 20, 17);
paramGraphics.drawString("尽在游戏频道", be.d >> 1, be.e >> 1, 17);
paramGraphics.drawString("wap.xjoys.com", be.d >> 1, (be.e >> 1) + 20, 17);
paramGraphics.drawString("确认", 9, 5, 20);
paramGraphics.drawString("退出", be.d - 9, 5, 24);
}
}
private void b()
{
this.jdField_a_of_type_JavaxMicroeditionLcduiImage = null;
for (int i = 0; i < this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage.length; ++i)
this.jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[i] = null;
}
public final void a()
{
switch (this.jdField_a_of_type_Byte)
{
case 0:
if (be.a(17))
{
be.jdField_a_of_type_Be.a(4);
b();
return;
}
if (!(be.a(18)))
return;
this.jdField_a_of_type_Byte = 1;
return;
case 1:
if (be.a(17))
{
try
{
be.jdField_a_of_type_Be.jdField_a_of_type_A.platformRequest("http://go.i139.cn/gcomm1/portal/spchannel.do?url=http://gamepie.i139.cn/wap/s.do?j=3channel");
be.jdField_a_of_type_Be.jdField_a_of_type_A.destroyApp(true);
}
catch (Exception localException)
{
}
b();
return;
}
if (!(be.a(18)))
return;
be.jdField_a_of_type_Be.b();
be.jdField_a_of_type_Be.jdField_a_of_type_A.a();
}
}
static
{
jdField_b_of_type_JavaLangString = "";
e = "";
jdField_a_of_type_D = null;
jdField_a_of_type_JavaxMicroeditionLcduiCommand = new Command("确定", 4, 0);
jdField_b_of_type_JavaxMicroeditionLcduiCommand = new Command("退出", 3, 1);
jdField_c_of_type_JavaxMicroeditionLcduiCommand = new Command("返回", 2, 1);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -