📄 y.java
字号:
// pica客户端J2ME源码,100%可运行可修改,J2ME逆向工程经典作品
// 作者:fangji999
// QQ:57979471 Email:fangji999@163.com
// 博客:http://hi.baidu.com/ccall_net
// QQ群:51719370
// 如用此源码重新改写的软件或转载,请保留本人联系方式,作品原创作者
package pica;
import java.io.IOException;
import java.util.Vector;
import javax.microedition.io.Connection;
import javax.microedition.io.Connector;
import javax.microedition.lcdui.Display;
import javax.wireless.messaging.MessageConnection;
import javax.wireless.messaging.TextMessage;
// Referenced classes of package pica:
// Pica, ab, ah, c,
// h, i, j, m,
// o, p, q, t,
// v, w
//联系人主处理罪面
public final class y extends Thread
{
long a;
m b;
private int g;
private Vector h;
public int c;
private ab i;
public o d;
public String e;
String f;
public y()
{
c = 0;
g = 3;
}
public y(ab ab1)
{
c = 0;
g = 4;
e = ab1.a;
i = ab1;
h = new Vector();
if (!ab1.q.equals("pending"))
h.addElement("进入");
h.addElement("查看群资料");
if (ab1.q != null)
if (ab1.q.equals("owner"))
h.addElement("解散群");
else
h.addElement("退出群");
String as[] = new String[h.size()];
h.copyInto(as);
Pica.l.a(0, "群操作", as);
}
public y(m m1, int k)
{
c = 0;
a = System.currentTimeMillis();
e = ((o) (m1)).j;
b = m1;
g = k;
h = new Vector();
if (b.vss != null && b.vss.length > 0)
{
for (int l = 0; l < b.vss.length; l++)
if (b.vss[l][2] != null && (!b.vss[0][1].equals("msg") || !b.vss[0][2].equals("写信息") || b.vss[1][0] != null))
h.addElement(b.vss[l][2]);
h.addElement("频道说明");
if (b.w)
h.addElement("写信息");
String as[] = new String[h.size()];
h.copyInto(as);
Pica.l.a(0, "频道", as);
return;
} else
{
a();
return;
}
}
public y(o o1)
{
c = 0;
g = 5;
d = o1;
h = new Vector();
h.addElement("群名片");
h.addElement("加为好友");
if ((o1.l.length() != 0 || o1.m.length() != 0) && (o1.l == null || !o1.l.equals("unavailable")) && (o1.m == null || !o1.m.equals("leave")) && (o1.m != null || o1.k == null || !o1.k.equals("member") || !o1.l.equals("available")) && (o1.p != 0 || o1.m == null || !o1.m.equals("online") || o1.i == null || o1.j.indexOf(o1.i) == -1) && Pica.Q)
h.addElement("悄悄话");
if (Pica.S)
{
if (o1.k != null && o1.k.equals("admin"))
{
h.addElement("设为授权成员");
h.addElement("设为普通权限成员");
} else
if (o1.k != null && o1.k.equals("au-member"))
{
h.addElement("设为管理员");
h.addElement("设为普通权限成员");
} else
{
h.addElement("设为授权成员");
h.addElement("设为管理员");
}
h.addElement("开除出群");
h.addElement("转让群");
} else
if (Pica.U && (o1.k == null || !o1.k.equals("owner")) && (o1.k == null || !o1.k.equals("admin")))
if (o1.k != null && o1.k.equals("au-member"))
{
h.addElement("设为普通权限成员");
h.addElement("开除出群");
} else
{
h.addElement("设为授权成员");
h.addElement("开除出群");
}
String as[] = new String[h.size()];
h.copyInto(as);
Pica.l.a(0, "群操作", as);
}
private void a()
{
if (b.t == 2)
{
if (b.r.c == 32)
{
h.addElement("写信息");
h.addElement("详细资料");
} else
if (b.r.c == 16)
{
h.addElement("写信息");
h.addElement("详细资料");
h.addElement("更多Q友");
} else
{
h.addElement("PICA空间");
h.addElement("详细资料");
h.addElement("聊天记录");
h.addElement("移至分组");
h.addElement("修改昵称");
h.addElement("加黑名单");
h.addElement("删除");
}
} else
if (b.t == 1)
{
h.addElement("详细资料");
h.addElement("移至分组");
h.addElement("放入黑名单");
h.addElement("删除");
} else
if (b.t == 0)
{
h.addElement("详细资料");
h.addElement("加为好友");
h.addElement("删除");
} else
if (b.t == 6)
{
h.addElement("PICA空间");
h.addElement("详细资料");
h.addElement("聊天记录");
h.addElement("加为好友");
h.addElement("加黑名单");
} else
if (b.t == 11)
{
h.addElement("频道说明");
h.addElement("写信息");
}
String as[] = new String[h.size()];
h.copyInto(as);
Pica.l.a(0, "联系人", as);
}
public final void a(String s)
{
f = s;
if (f == "返回")
{
Pica.j.setCurrent(Pica.l);
return;
}
System.out.println("主标志:"+g+":菜单:"+f);
//g为主菜单的位置
if (g == 3){//if (g != 3){
// break MISSING_BLOCK_LABEL_854;
if (System.currentTimeMillis() - a < 300L)
return;
if (f == "频道说明")
{
b();
return;
}
if (b.vss != null || b.w && f == "写信息")
{
c = Pica.l.i;
if (b.w && f == "写信息")
{
if (!w.a(b, false))
if (b.d.equals("CAST"))
{
w.b(((o) (b)).j);
return;
} else
{
a(null, e);
return;
}
} else
{
if (b.vss[c][1].equals("sms"))
{
String s9 = b.vss[c][4];
String s1 = "是否发送短信给:" + s9 + " ?";
w.a("提示", s1, this, 21);
return;
}
if (b.vss[c][1].equals("wap"))
{
w.a(this);
return;
}
if (b.vss[c][1].equals("ivr"))
{
String s10 = b.vss[c][4];
String s2 = "是否拨打电话:" + s10 + " ?";
w.a("提示", s2, this, 23);
return;
} else
{
a(b.vss[c][3], e);
return;
}
}
// break MISSING_BLOCK_LABEL_1355;
}
if (b.t == 11)
{
a(null, e);
return;
}
System.out.println("b.tt:"+b.t);
if (b.t == 2){//if (b.t != 2)
// break MISSING_BLOCK_LABEL_615;
if (f == "写信息")
c();
else
if (f == "聊天记录")
{
b = (m)Pica.m.b;
a(null, e);
}
if (b.r.c == 16){//if (b.r.c != 16)
// break MISSING_BLOCK_LABEL_502;
if (f == "更多Q友"){//if (f != "更多Q友"){
// break MISSING_BLOCK_LABEL_488;
try {
// break MISSING_BLOCK_LABEL_488;
Pica.h.b();
} catch (Exception ex) {
ex.printStackTrace();
w.a("正在获取更多QQ好友,请稍候!", 5000, Pica.l);
}
}
return;
}
//return;
// JVM INSTR dup ;
// Exception exception;
// exception;
// printStackTrace();
// return;
if (f == "详细资料")
{
b();
return;
}
// break MISSING_BLOCK_LABEL_1355;
if (b.r.c == 32)
{
if (f == "详细资料")
{
b();
return;
}
} else
{
if (f == "PICA空间")
{
j();
return;
}
if (f == "详细资料")
{
b();
return;
}
if (f == "移至分组")
{
d();
return;
}
if (f == "修改昵称")
{
e();
return;
}
if (f == "加黑名单")
{
f();
return;
}
if (f == "删除")
{
g();
return;
}
}
}
// break MISSING_BLOCK_LABEL_1355;
if (b.t == 1)
{
if (f == "详细资料")
{
b();
return;
}
if (f == "移至分组")
{
d();
return;
}
if (f == "放入黑名单")
{
f();
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -