📄 w.java
字号:
a(ws, 1, Pica.l);
return;
}
try
{
Pica.h.c(x, s1);
a("正在发送请求,请稍候...", 3000, Pica.l);
}
catch (Exception e)
{
Pica.l.a();
return;
}
finally
{
Pica.l.a();
}
Pica.l.a();
return;
// throw exception;
}
private static void u()
{
kbb = o.d();
j = p.e();
Pica.l.o = a.e();
p();
Pica.aH = q.e() + 1;
switch (Pica.aH)
{
case 1: // '\001'
Pica.aK = true;
Pica.aL = false;
Pica.aI = 10;
break;
case 2: // '\002'
Pica.aK = true;
Pica.aL = false;
Pica.aI = 20;
break;
case 3: // '\003'
Pica.aK = true;
Pica.aL = false;
Pica.aI = 60;
break;
case 4: // '\004'
Pica.aK = false;
Pica.aL = true;
Pica.aI = Pica.aJ[0];
break;
}
Pica.l.a();
}
private static void v()
{
if (vs == "确定")
{
switch (o.e())
{
default:
break;
case 0: // '\0'
try
{
i("subscribed");
Pica.h.c(u, null, null, null);
Pica.h.a(u, "subscribe", null, null, 0);
}
catch (Exception e) { }
break;
case 1: // '\001'
i("subscribed");
break;
case 2: // '\002'
i("unsubscribed");
break;
}
return;
}
if (vs == "对方资料")
{
Pica.h.f(u);
a("正在查询,请稍候...", 3000, Pica.l);
}
}
private static void w()
{
Pica.i = null;
//o.e();
switch (o.e()){
// JVM INSTR tableswitch 0 4: default 113
// 0 44
// 1 51
// 2 64
// 3 78
// 4 91;
// goto _L1 _L2 _L3 _L4 _L5 _L6
//_L1:
case 0:
break; /* Loop/switch isn't completed */
//_L2:
case 1:
Pica.H = 0;
break; /* Loop/switch isn't completed */
//_L3:
case 2:
Pica.H = 2;
Pica.i = "dnd";
break; /* Loop/switch isn't completed */
//_L4:
case 3:
Pica.H = 100;
Pica.i = "iv";
break; /* Loop/switch isn't completed */
//_L5:
case 4:
Pica.H = 1;
Pica.i = "away";
break; /* Loop/switch isn't completed */
//_L6:
case 5:
Pica.H = 15;
Pica.l.a();
Pica.a(true);
Pica.l.a();
return;
}
// Exception exception;
try
{
Pica.h.e("available", null);
}
catch (Exception e)
{
Pica.l.a();
return;
}
finally
{
Pica.l.a();
}
Pica.l.a();
return;
// throw exception;
}
private static void x()
{
String s1 = o.c().trim();
String s2 = p.c().trim();
if (s1.length() == 0 || s2.length() == 0)
{
return;
} else
{
Pica.az = s1;
Pica.aA = s2;
Pica.aE = q.d();
Pica.aD = a.d();
Pica.l.a();
a("正在连接QQ,请稍候...", 5000, Pica.l);
Pica.h.b("qq.pica", Pica.az, Pica.aA);
p();
return;
}
}
private static void y()
{
if (vs == "登录")
{
b(true);
return;
}
if (vs == "退出")
{
Pica.c();
return;
}
if (vs == "帮助")
{
al("帮助", "PICA " + Pica.d + "\n" + "掌中无限信息技术有限公司\n" + "如果连接失败,请尝试更改登录页面下方的'使用代理服务器'设置后重试。\n" + "24小时客服热线:010-58207666\n" + "http://wap.pica.com", ((String) (null)), 3);
return;
}
if (vs == "注册")
{
h = !a.d() ? -1 : 0;
ad();
}
}
private static void z()
{
String s1 = o.c().trim();
String s2 = p.c().trim();
if (s1.length() == 0 || s2.trim().length() == 0)
{
return;
} else
{
Pica.aC = s1;
Pica.aB = s2;
Pica.l.a();
a("正在连接MSN,请稍候...", 5000, Pica.l);
Pica.h.b("msn.pica", Pica.aC, Pica.aB);
p();
return;
}
}
private static void A()
{
String s1 = Pica.aN ? a(o) : "";
String s2 = a(p);
String s3 = a(q);
String s4 = a.c();
if (s2.length() > 0 && s3.length() > 0)
{
ws = "";
if (s4.length() == 0)
ws = "请输入PICA密码。";
else
if (!h(s2) || !h(s3) || Pica.aN && !h(s1))
ws = "您输入的手机号码无效,请重新输入。";
else
if (!s3.equals(s2))
ws = "您输入的手机号码不一致,请重新输入。";
if (ws.length() > 0)
{
a(ws, 3000, Pica.l);
return;
}
G = "re.pica.com";
H = "/bindtel";
StringBuffer stringbuffer;
(stringbuffer = new StringBuffer()).append("username=").append(ls).append("&password=").append(o(s4));
if (Pica.aN)
stringbuffer.append("&oldtel=").append(s1);
stringbuffer.append("&telephone=").append(s2);
try
{
String s5;
g(s5 = utils.b.a(G, H, stringbuffer.toString()));
return;
}
catch (Exception e)
{
Pica.l.a();
}
a("服务器忙,请稍候再试!", 3000, Pica.l);
}
}
private static void g(String s1)
throws Exception
{
if (s1 != null && s1.startsWith("BIND="))
{
int i1 = s1.indexOf(";");
String s2 = s1.substring(5, i1);
String s3 = s1.substring(i1 + 6);
if (s2.equals("0") || s2.equals("1") || s2.equals("-4") || s2.equals("-5"))
{
Pica.l.a();
G = null;
H = null;
}
a(s3, -2, Pica.l);
return;
} else
{
new Exception();
return;
}
}
private static void B() throws Exception
{
String s1;
if ((s1 = o.c()) == null || s1.length() == 0 || s1.indexOf(";") >= 0 || s1.indexOf("%") >= 0 || ls.equals(s1))
{
a("联系人为空或包含非法字符或是本人", 1, Pica.l);
return;
}
if (s1.indexOf('@') < 0)
s1 = s1 + "@" + "pica";
c c1;
if ((c1 = Pica.m.c(s1)) != null && c1.c != 8)
{
Pica.l.a();
if (c1.c == 4)
{
a("该联系人在黑名单里!", 2, Pica.l);
return;
} else
{
a("好友已存在于 '" + c1.b + "' 分组里!", 2, Pica.l);
return;
}
} else
{
a(s1, true);
return;
}
}
private static void C()
{
j(null);
}
private static void D()
{
if (System.currentTimeMillis() - z > 300L)
{
if (vs == "回复")
{
j(b.y);
return;
}
if (vs == "下一条")
if (y)
{
Pica.f.c();
if (Pica.aW != null)
{
Pica.aW.cancel();
Pica.aW = null;
Pica.l.A = false;
d d1;
if (v.c instanceof d)
(d1 = (d)v.c).l.l = null;
}
Pica.f.d();
return;
} else
{
Pica.e.c();
Pica.e.d();
return;
}
if (vs == "上一条")
if (y)
{
Pica.f.b();
if (Pica.aW != null)
{
Pica.aW.cancel();
Pica.aW = null;
Pica.l.A = false;
d d2;
if (v.c instanceof d)
(d2 = (d)v.c).l.l = null;
}
Pica.f.d();
return;
} else
{
Pica.e.b();
Pica.e.d();
return;
}
for (int i1 = 0; i1 < b.x.length; i1++)
if (vs == b.x[i1][0])
b(b.x[i1][1], u);
}
}
private static void E()
{
String s1 = null;
if (!A)
return;//新加
// break MISSING_BLOCK_LABEL_177;
s1 = o.c();
label0:
{
if (c(true))
{
Pica.l.a();
return;
}
try
{
if (Integer.parseInt(s1) < 15)
s1 = "15";
else
if (Integer.parseInt(s1) > 90)
s1 = "90";
String s2 = (Integer.parseInt(s1) - 5) + "-" + (Integer.parseInt(s1) + 5);
Pica.X = new ac();
Pica.h.a(null, null, a.e() == 0, q.c(), s2, p.c());
a("正在查找,请稍候...", 3000, Pica.l);
}
catch (Exception e)
{
Pica.l.a();
break label0;
}
finally
{
Pica.l.a();
//throw exception;
}
Pica.l.a();
break label0;
}
// return;
if (c(false))
{
return;
} else
{
Pica.h.a(Pica.h.a, a.c(), q.c(), p.c(), o.c(), s.e(), r.c());
Pica.l.a();
a("正在发送请求,请稍候...", 3000, Pica.l);
return;
}
}
private static void F()
{
Exception exception;
c c1;
if ((c1 = Pica.m.c(u)) == null || c1.c == 8)
{
a("不能修改该联系人昵称!", 1, Pica.l);
return;
}
try
{
Pica.h.c(u, o.c(), c1.b, null);
a("正在发送请求,请稍候...", 3000, Pica.l);
}
catch (Exception e)
{
Pica.l.a();
return;
}
finally
{
Pica.l.a();
}
Pica.l.a();
return;
// throw exception;
}
private static void G() throws Exception
{
String s1;
if ((s1 = u).indexOf('@') < 0)
s1 = s1 + "@" + "pica";
a(s1, false);
}
private static void H()
{
Exception exception;
String s1;
if ((s1 = o.c()).length() == 0 || s1.indexOf("=") >= 0 || s1.indexOf("&") >= 0 || s1.indexOf(" ") >= 0)
{
a("输入错误或有非法字符,请重新输入!", 2000, Pica.l);
return;
}
try
{
Pica.h.g(s1);
a("请求已提交,请稍候...", 2000, Pica.l);
}
catch (Exception e)
{
Pica.l.a();
return;
}
finally
{
Pica.l.a();
}
Pica.l.a();
return;
// throw exception;
}
private static void I()
{
if (o.c().length() == 0 || p.c().length() == 0)
{
return;
} else
{
Pica.h.d(u, o.c(), p.c(), q.c());
Pica.l.a(0);
Pica.j.setCurrent(Pica.l);
return;
}
}
private static void J()
{
if (vs == "最近输入的号码")
try
{
RecordStore recordstore;
if ((recordstore = RecordStore.openRecordStore("PhoneBook", true)).getNumRecords() == 0)
{
recordstore.closeRecordStore();
} else
{
B = new List("电话簿", 3);
ByteArrayInputStream bytearrayinputstream = new ByteArrayInputStream(recordstore.getRecord(1));
String s1;
String as[];
DataInputStream datainputstream;
for (int i1 = (as = utils.b.a(s1 = (datainputstream = new DataInputStream(bytearrayinputstream)).readUTF(), '#')).length - 1; i1 >= 0; i1--)
B.append(as[i1], null);
recordstore.closeRecordStore();
a a1 = new a();
B.addCommand(new Command("取消", 1, 1));
B.addCommand(new Command("确定", 2, 0));
B.setCommandListener(a1);
Pica.j.setCurrent(B);
}
return;
}
catch (Exception e)
{
return;
}
if (vs == "发送")
ab();
}
private static void K()
{
String s1;
Exception exception;
if ((s1 = a(o)).length() > 0)
{
try
{
if (h(s1))
{
s1 = s1 + "@sms.pica";
Pica.h.b(s1, p.c());
}
}
catch (Exception e)
{
Pica.l.a();
return;
}
finally
{
Pica.l.a();
}
Pica.l.a();
return;
} else
{
a("手机号不能为空", 1, Pica.l);
return;
}
// throw exception;
}
private static void L()
{
try
{
String s1;
String s2;
if ((s1 = a(r)) != null && h(s1))
n(s2 = utils.b.a(G, H, x + "&telephone=" + s1));
else
a("手机号码不正确,请重新输入。", 3000, Pica.l);
return;
}
catch (Exception e)
{
Pica.l.a();
}
a("服务器忙,请稍候再试!", 3000, Pica.l);
}
private static void M()
{
J = o.c();
if (J != null && J.length() > 0)
{
al("提示", "正在注册,请稍候...", ((String) (null)), 1);
(new w()).start();
return;
} else
{
a("密码不能为空!", 3000, Pica.l);
return;
}
}
private static void N()
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -