📄 f.java
字号:
import javax.microedition.io.Connector;
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.TextField;
import javax.wireless.messaging.MessageConnection;
import javax.wireless.messaging.TextMessage;
public final class f
implements CommandListener
{
public static f a;
public static int a;
public static String a;
public static String b;
public static String c;
public static String d;
public static String e;
public static boolean a;
public Form a;
public TextField a;
public TextField b;
private Command a;
private Command b;
public static MessageConnection a;
public static TextMessage a;
public static final String[] a;
public f()
{
this.jdField_a_of_type_JavaxMicroeditionLcduiForm = null;
this.jdField_a_of_type_JavaxMicroeditionLcduiTextField = null;
this.jdField_b_of_type_JavaxMicroeditionLcduiTextField = null;
this.jdField_a_of_type_JavaxMicroeditionLcduiCommand = null;
this.jdField_b_of_type_JavaxMicroeditionLcduiCommand = null;
}
public static f a()
{
if (jdField_a_of_type_F == null)
jdField_a_of_type_F = new f();
return jdField_a_of_type_F;
}
public static void a(Graphics paramGraphics)
{
if (be.jdField_a_of_type_Be.jdField_a_of_type_Ae == null)
{
be.jdField_a_of_type_Be.jdField_a_of_type_Ae = new ae(0, 0, be.d, be.e, "");
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.c = 0;
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAm[0] = new am(0, 0, be.d - 1, be.e - 1, 4);
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAm[1] = new am(5, 5, 164, 25, 2);
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAr[0] = new ar(60, 12, 112, 0, "帐号绑定", 16316576, 1, 0);
ar localar1 = new ar(0, 0, 0, 0, "选择", 15718815, 0, 0);
ar localar2 = new ar(0, 0, 0, 0, "返回", 15718815, 0, 0);
String[] arrayOfString = { "帐号绑定", "解除绑定", "找回密码" };
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0] = new r(5, 32, 164, 58, null, arrayOfString);
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].c = 0;
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].b = 1;
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAp[0] = new ap(5, 92, 164, 96, jdField_a_of_type_ArrayOfJavaLangString[be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].d]);
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAp[0].i = 15849885;
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0]);
for (int i = 0; i < 2; i = (byte)(i + 1))
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAm[i]);
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAr[0], 2);
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAp[0]);
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar1, 5);
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar2, 6);
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(true);
}
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(paramGraphics);
}
public final void a()
{
if (be.jdField_a_of_type_Be.jdField_a_of_type_Ae == null)
return;
n localn = be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a();
if ("msg".equals(be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a().jdField_a_of_type_JavaLangString))
{
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(null);
return;
}
if ((be.a(17)) || (be.a(14)) || (be.a(53)))
{
jdField_a_of_type_Int = be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].d;
if ((be.b) && (jdField_a_of_type_Int == 0) && (as.a()))
{
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a("msg", "您的帐号已经绑定", 1, 210);
return;
}
b(jdField_a_of_type_Int);
return;
}
if (be.a(18))
{
if (be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a() != be.jdField_a_of_type_Be.jdField_a_of_type_Ae)
return;
if (be.b)
{
be.a(-1);
be.jdField_a_of_type_Be.e();
return;
}
be.jdField_a_of_type_Be.a(4);
be.jdField_a_of_type_Be.e();
return;
}
if (be.jdField_a_of_type_Be.a(localn))
be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAp[0].a(jdField_a_of_type_ArrayOfJavaLangString[be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].d]);
}
public static void a(int paramInt)
{
try
{
if (jdField_a_of_type_JavaxWirelessMessagingMessageConnection == null)
{
e = "sms://" + d;
jdField_a_of_type_JavaxWirelessMessagingMessageConnection = (MessageConnection)Connector.open(e);
jdField_a_of_type_JavaxWirelessMessagingTextMessage = (TextMessage)jdField_a_of_type_JavaxWirelessMessagingMessageConnection.newMessage("text");
}
jdField_a_of_type_JavaxWirelessMessagingTextMessage.setPayloadText(a(paramInt));
jdField_a_of_type_JavaxWirelessMessagingMessageConnection.send(jdField_a_of_type_JavaxWirelessMessagingTextMessage);
jdField_a_of_type_Boolean = true;
return;
}
catch (Exception localException2)
{
Exception localException1;
(localException1 = localException2).printStackTrace();
jdField_a_of_type_Boolean = false;
}
}
private void b(int paramInt)
{
this.jdField_a_of_type_JavaxMicroeditionLcduiForm = null;
this.jdField_a_of_type_JavaxMicroeditionLcduiCommand = null;
this.jdField_b_of_type_JavaxMicroeditionLcduiCommand = null;
this.jdField_a_of_type_JavaxMicroeditionLcduiTextField = null;
this.jdField_b_of_type_JavaxMicroeditionLcduiTextField = null;
switch (paramInt)
{
case 0:
this.jdField_a_of_type_JavaxMicroeditionLcduiForm = new Form("帐号绑定");
break;
case 1:
this.jdField_a_of_type_JavaxMicroeditionLcduiForm = new Form("解除绑定");
break;
case 2:
this.jdField_a_of_type_JavaxMicroeditionLcduiForm = new Form("找回密码");
}
String str = "此操作将以短信形式发送";
this.jdField_a_of_type_JavaxMicroeditionLcduiCommand = new Command("发送", 4, 2);
this.jdField_b_of_type_JavaxMicroeditionLcduiCommand = new Command("返回", 2, 2);
if (!(str.trim().equals("")))
this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(str);
this.jdField_a_of_type_JavaxMicroeditionLcduiTextField = new TextField("请输入您的帐号", "", 16, 0);
this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_a_of_type_JavaxMicroeditionLcduiTextField);
if (paramInt < 2)
{
this.jdField_b_of_type_JavaxMicroeditionLcduiTextField = new TextField("请输入您的密码", "", 16, 0);
this.jdField_a_of_type_JavaxMicroeditionLcduiForm.append(this.jdField_b_of_type_JavaxMicroeditionLcduiTextField);
}
this.jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(this.jdField_a_of_type_JavaxMicroeditionLcduiCommand);
this.jdField_a_of_type_JavaxMicroeditionLcduiForm.addCommand(this.jdField_b_of_type_JavaxMicroeditionLcduiCommand);
this.jdField_a_of_type_JavaxMicroeditionLcduiForm.setCommandListener(this);
a.a.setCurrent(this.jdField_a_of_type_JavaxMicroeditionLcduiForm);
b();
}
private static void b()
{
if (be.b)
{
be.a(9);
be.g(2);
return;
}
be.jdField_a_of_type_Be.a(30);
}
public final void commandAction(Command paramCommand, Displayable paramDisplayable)
{
if (paramCommand == this.jdField_a_of_type_JavaxMicroeditionLcduiCommand)
{
jdField_a_of_type_JavaLangString = this.jdField_a_of_type_JavaxMicroeditionLcduiTextField.getString();
if (this.jdField_b_of_type_JavaxMicroeditionLcduiTextField == null)
jdField_b_of_type_JavaLangString = "1";
else
jdField_b_of_type_JavaLangString = this.jdField_b_of_type_JavaxMicroeditionLcduiTextField.getString();
switch (jdField_a_of_type_Int)
{
case 0:
c = "AGB";
break;
case 1:
c = "AGD";
break;
case 2:
c = "AGC";
}
if ((jdField_a_of_type_JavaLangString.trim().equals("")) || (jdField_b_of_type_JavaLangString.trim().equals("")))
return;
ai localai = new ai(this);
b();
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a("waiting", "请稍候…", 0, be.d - 30);
a.a.setCurrent(be.jdField_a_of_type_Be);
localai.start();
c();
return;
}
if (paramCommand == this.jdField_b_of_type_JavaxMicroeditionLcduiCommand)
{
b();
be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(null);
a.a.setCurrent(be.jdField_a_of_type_Be);
c();
}
}
private void c()
{
jdField_a_of_type_Boolean = false;
this.jdField_b_of_type_JavaxMicroeditionLcduiTextField = null;
this.jdField_a_of_type_JavaxMicroeditionLcduiTextField = null;
this.jdField_a_of_type_JavaxMicroeditionLcduiForm = null;
}
private static String a(int paramInt)
{
String str = null;
StringBuffer localStringBuffer = new StringBuffer();
if (paramInt < 2)
localStringBuffer.append(c).append(":").append(jdField_a_of_type_JavaLangString).append(":").append(jdField_b_of_type_JavaLangString);
else
localStringBuffer.append(c).append(":").append(jdField_a_of_type_JavaLangString);
return (str = localStringBuffer.toString().trim());
}
static
{
jdField_a_of_type_Int = -1;
jdField_a_of_type_JavaLangString = "";
jdField_b_of_type_JavaLangString = "";
c = "";
d = "106633552";
jdField_a_of_type_Boolean = false;
jdField_a_of_type_ArrayOfJavaLangString = { "帐号绑定可以提高您帐号的安全性。绑定操作采用短信发送方式认证,如果您的帐号已绑定则不再执行绑定。", "解除绑定可以解除您已经绑定的帐号的绑定状态。本操作采用短信发送方式进行认证,必须使用原绑定的手机号发短信才能执行成功此操作。", "如果您的帐号已经绑定,此操作可以通过短信认证方式帮您找回遗忘的密码。只有原绑定的手机号发短信才能执行成功此操作。" };
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -