⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 t.java

📁 // pica客户端J2ME源码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
			}
			if (s1 == "系统设置")
			{
				w.a();
				return;
			}
			if (s1 == "手机号验证")
			{
				w.g();
				return;
			}
			if (s1 == "联系人" || s1 == "频道")
			{
				w.a("请选择一个联系人。", 2, Pica.l);
				return;
			}
			e.a(s1);
		}
	}

	private static void e()
	{
		try
		{
			if (Pica.l.d.lastElement() instanceof ac)
				Pica.l.d.removeElement(Pica.l.d.lastElement());
			Pica.X = null;
			Pica.X = new ac();
			Pica.h.a(null, null, true, null, null, null);
			w.a("正在查找,请稍候...", 3000, Pica.l);
			return;
		}
		catch (Exception  e)
		{
			return;
		}
	}

	private static void g(String s1)
	{
		try
		{
			Pica.h.c(s1);
			return;
		}
		catch (Exception  e)
		{
			return;
		}
	}

	private void i()
	{
		String s1 = "";
		Object obj;
		c c1;
		if (b instanceof c)
		{
			if ((((c) (obj = (c)b)).c & 2) != 0)
				s1 = ((c) (obj)).b;
			else
				s1 = "我的好友";
		} else
		if (b instanceof m)
			if (((c1 = ((m) (obj = (m)b)).r).c & 2) != 0)
				s1 = c1.b;
			else
				s1 = "我的好友";
		w.a(null, s1);
	}

	private void l()
	{
		c c1 = null;
		if (b instanceof c)
		{
			c c2;
			c1 = c2 = (c)b;
			if (c2 == null)
				return;
			if ((c2.c & 1) == 0)
			{
				w.a("不能修改该分组", 2, Pica.l);
				return;
			}
		} else
		if (b instanceof m)
		{
			m m1;
			if ((m1 = (m)b) == null)
				return;
			c c3;
			c1 = c3 = m1.r;
			if ((c3.c & 1) == 0)
			{
				w.a("不能修改该分组", 2, Pica.l);
				return;
			}
		}
		w.a(c1.b);
	}

	private static void t()
	{
		String s1 = "PICA  " + Pica.d + "\n" + "掌中无限信息技术有限公司\n" + "\n" + "快速入门:\n" + "1、操作菜单:选择键/5\n" + "2、收起所有分组:3\n" + "3、展开所有分组:9\n" + "4、快速翻页:1/7\n" + "5、设置我的状态:*\n" + "6、查看当前时间: *\n" + "7、切换省电模式:0\n" + "8、开关提示音:#\n" + "\n" + "http://wap.pica.com\n" + "客服电话:010-58207666";
		System.out.println(s1);
                w.al("帮助", s1, null, 3);
	}

	private static void u()
	{
		w.al("提示", "你确定要退出PICA吗?", null, 4);
	}

	public final void d()
	{
		if (b instanceof c)
		{
			((c)b).d = !((c)b).d;
			return;
		}
		if (b instanceof m)
		{
			if (Pica.Z)
			{
				c(0);
				return;
			}
			if (Pica.aa)
			{
				c(1);
				return;
			}
			if (Pica.ab)
			{
				v();
				return;
			}
			Pica.l.b(0);
		}
	}

	public final void h()
	{
		if (b instanceof m)
		{
			m m1 = (m)b;
			e = new y(m1, 3);
			return;
		} else
		{
			Pica.l.a(0, "联系人", null);
			return;
		}
	}

	public final void a(m m1)
	{
		ah ah1;
		if ((ah1 = c(((o) (m1)).j).a) == null)
		{
			return;
		} else
		{
			ah1.a();
			Pica.l.a(this);
			return;
		}
	}

	public final void d(String s1)
	{
		m m1 = Pica.m.b(s1);
		c c1 = Pica.m.c(s1);
		ah ah1 = null;
		if (c1 != null)
		{
			(ah1 = c1.a).b(m1);
			ah1.b();
		}
		if (ah1 != null && ah1.q() == 0)
		{
			Pica.m.b(c1);
			Pica.l.d.setElementAt(Pica.m, 0);
			Pica.l.a(0);
		}
		Pica.l.a(this);
	}

	public final boolean e(String s1)
	{
		c c1;
		return (c1 = c(s1)) != null && c1.c != 4 && c1.c != 8;
	}

	public static void f(String s1)
	{
		Pica.a().a(s1 + "username=" + w.ls + "&password=" + w.m, (byte)-1);
	}

	public final void a(Graphics g1)
	{
		int k = v.l + 22;
		int i1 = super.n;
		int j1 = 0;
		if (p().size() == 0)
			return;
		for (int k1 = 0; k1 < p().size(); k1++)
		{
			c c1;
			if (!(c1 = (c)p().elementAt(k1)).d && j1 < super.oi)
			{
				j1++;
				continue;
			}
			if (i1 > 0 && j1 >= super.oi)
			{
				if (super.p == j1)
				{
					a(g1, k, Pica.p);
					b = (c)p().elementAt(k1);
				}
				c1.a(g1, k + Pica.p / 2);
				i1--;
				k += Pica.p;
			}
			if (c1.d)
			{
				int l1 = c1.a.q();
				for (int i2 = 0; i2 < l1; i2++)
				{
					if (j1 + i2 + 1 < super.oi || i1 <= 0)
						continue;
					if (super.p == j1 + i2 + 1)
					{
						a(g1, k, Pica.p);
						b = (m)c1.a.p().elementAt(i2);
					}
					m m1;
					(m1 = (m)c1.a.p().elementAt(i2)).a(g1, k + Pica.p / 2);
					i1--;
					k += Pica.p;
				}

				j1 += l1;
			}
			j1++;
		}

		super.t = j1;
		if (Pica.Z || Pica.aa || Pica.ab)
			return;
		Pica.l.e = "";
		if (b instanceof m)
		{
			e.b = (m)b;
			if (e.b.t == 2 || e.b.t == 6)
				Pica.l.e = "写信息";
		}
	}

	public final void r()
	{
		for (int k = 0; k < p().size(); k++)
			if (b(k) instanceof c)
				((c)b(k)).d = false;

		super.p = 0;
		super.oi = 0;
	}

	public final void s()
	{
		for (int k = 0; k < p().size(); k++)
			if (b(k) instanceof c)
				((c)b(k)).d = true;

	}

	public final void b()
	{
		if (p().size() == 0)
		{
			super.p = -1;
			return;
		}
		super.p--;
		if (super.p < super.oi)
			super.oi--;
		if (super.p < 0)
		{
			super.p = super.t - 1;
			super.oi = super.t - super.n;
			if (super.oi < 0)
				super.oi = 0;
		}
	}

	public final void c()
	{
		if (p().size() == 0)
		{
			super.p = -1;
			return;
		}
		super.p++;
		if (super.p >= super.oi + super.n)
			super.oi++;
		if (super.p >= super.t)
		{
			super.p = 0;
			super.oi = 0;
		}
	}

	public final void g()
	{
		if (super.t == 0)
			return;
		if (super.oi + super.n < super.t)
		{
			super.oi = (super.oi + super.n) - 1;
			super.p = super.oi;
			return;
		} else
		{
			super.p = super.t - 1;
			return;
		}
	}

	private void v()
	{
		m m1;
		if ((m1 = (m)b) == null)
			return;
		if (m1.t == 0 || m1.t == 11 || m1.t == 6)
		{
			w.a("不能将该用户添加为群成员!", 2000, Pica.l);
			return;
		}
		try
		{
			String s1 = ((o) (m1)).j.substring(0, ((o) (m1)).j.indexOf("@pica")) + "%" + Pica.M;
			String s2;
			if (m1.a == null || m1.a.length() == 0)
			{
				if (((o) (m1)).j.indexOf('@') > 0)
					s2 = ((o) (m1)).j.substring(0, s1.indexOf('@'));
				else
					s2 = s1;
			} else
			{
				s2 = m1.a;
			}
			Pica.h.j(s1, s2);
			w.a("正在发送请求,请稍候...", 3000, Pica.l);
		}
		catch (Exception  e) { }
		Pica.ab = false;
		Pica.l.a(2);
	}

	private void c(int k)
	{
		m m1;
		if ((m1 = (m)b) == null)
			return;
		if ((m1.t & 2) == 0)
		{
			w.a("不能向该用户发送信息!", 2000, Pica.l);
			return;
		}
		if (k == 0)
		{
			Pica.Z = false;
			a(Pica.e.b);
		} else
		if (k == 1)
		{
			Pica.aa = false;
			a(Pica.f.b);
		}
		Pica.l.a(0);
	}

	private void a(p p1)
	{
		String s1;
		if ((s1 = ((o) ((m)b)).j).length() == 0)
			return;
		String s2 = Pica.b(s1);
		String s3 = null;
		if (s2.indexOf(";") != -1)
			s2 = s2.substring(0, s2.indexOf(";"));
		s3 = "发给:" + s2;
		Pica.j.setCurrent(new h(s3, s1, s2, p1, Pica.l, null));
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -