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

📄 w.java

📁 // pica客户端J2ME源码
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
		if (vs == "确定")
		{
			String s1 = null;
			if (o.e() == 0)
				s1 = "member";
			else
				s1 = "none";
			try
			{
				Pica.af = true;
				Pica.h.g(u, s1);
			}
			catch (Exception  e) { }
			Pica.ah.removeElementAt(0);
			if (Pica.ah.isEmpty())
			{
				Pica.l.a();
				Pica.j.setCurrent(Pica.l);
			} else
			{
				k();
			}
			return;
		}
		if (vs == "对方资料")
		{
			Pica.h.f(u);
			a("正在查询,请稍候...", 3000, Pica.l);
		}
	}

	private static void O()
	{
label0:
		{
			if (o.c().length() == 0)
				return;
			String s1 = p.c();
			try
			{
				Pica.h.a(u, o.c(), s1.equals("男") ? "M" : "F", q.c(), a.c(), r.c());
			}
			catch (Exception  e)
			{
				Pica.l.a();
				break label0;
			}
			finally
			{
				Pica.l.a();
//				throw exception;
			}
			Pica.l.a();
			break label0;
		}
		a("正在发送,请稍候...", 3000, Pica.l);
	}

	private static void P()
	{
 label0:
		{
			try
			{
				Pica.h.j(o.c());
			}
			catch (Exception  e)
			{
				Pica.l.a();
				break label0;
			}
			finally
			{
				Pica.l.a();
//				throw exception;
			}
			Pica.l.a();
			break label0;
		}
		a("正在发送,请稍候...", 3000, Pica.l);
	}

	private static void b(int i1)
	{
		Exception exception;
		String s1;
		if ((s1 = o.c()) == null || s1.length() == 0)
			return;
		try
		{
			Pica.h.a(u, s1, i1);
			a("正在发送请求...", 3000, Pica.l);
		}
		catch (Exception  e)
		{
			Pica.l.a();
			return;
		}
		finally
		{
			Pica.l.a();
		}
		Pica.l.a();
		return;
//		throw exception;
	}

	private static void Q()
	{
		c = o.c();
		d = p.c();
		if (d.equals("任意"))
			d = "";
		e = q.c();
		if (Pica.l.d.contains(Pica.X))
			Pica.l.d.removeElement(Pica.l.d.lastElement());
		Pica.X = null;
		Pica.X = new ac("群搜索");
		Pica.h.a(c, d, e);
		Pica.l.a();
		a("正在查找,请稍候...", 3000, Pica.l);
	}

	private static void R()
	{
		Exception exception;
		String s1 = o.c();
		String s2 = "";
		String s3 = "";
		String s4 = null;
		if (s1 == null || s1.length() == 0)
		{
			a("您输入的群名称不能为空,请重新输入。", 3000, Pica.l);
			return;
		}
		d = p.c();
		switch (q.e())
		{
		case 0: // '\0'
			s2 = "open";
			break;

		case 1: // '\001'
			s2 = "auth";
			break;

		case 2: // '\002'
			s2 = "close";
			break;
		}
		switch (a.e())
		{
		case 0: // '\0'
			s3 = "yes";
			break;

		case 1: // '\001'
			s3 = "no";
			break;
		}
		s4 = r.c();
		try
		{
			Pica.h.c(s1, d, s2, s3, s4);
		}
		catch (Exception  e)
		{
			Pica.l.a();
			return;
		}
		finally
		{
			Pica.l.a();
		}
		Pica.l.a();
		return;
//		throw exception;
	}

	private static void S()
	{
label0:
		{
			String s1 = o.c();
			String s2 = "";
			String s3 = "";
			String s4 = null;
			if (s1 == null || s1.length() == 0)
				return;
			d = p.c();
			switch (q.e())
			{
			case 0: // '\0'
				s2 = "open";
				break;

			case 1: // '\001'
				s2 = "auth";
				break;

			case 2: // '\002'
				s2 = "close";
				break;
			}
			switch (a.e())
			{
			case 0: // '\0'
				s3 = "yes";
				break;

			case 1: // '\001'
				s3 = "no";
				break;
			}
			s4 = r.c();
			try
			{
				Pica.h.a(Pica.M, s1, d, Pica.h.a, s2, s4, s3);
			}
			catch (Exception  e)
			{
				Pica.l.a();
				break label0;
			}
			finally
			{
				Pica.l.a();
//				throw exception;
			}
			Pica.l.a();
			break label0;
		}
		a("正在发送,请稍候...", 3000, Pica.l);
	}

	private static void T()
	{
label0:
		{
			String s1;
			if ((s1 = o.c()).length() == 0)
			{
				a("昵称不能为空", 3000, Pica.l);
				return;
			}
			ab ab1;
			if ((ab1 = Pica.J.b(u)) != null)
			{
				Pica.l.a();
				a("您已经加入该群", 3000, Pica.l);
				return;
			}
			try
			{
				Pica.h.c(u, s1, p != null ? p.c() : "");
			}
			catch (Exception  e)
			{
				Pica.X.a();
				break label0;
			}
			finally
			{
				Pica.X.a();
//				throw exception;
			}
			Pica.X.a();
			break label0;
		}
		a("正在加入,请稍候...", 5000, Pica.l);
	}

	private static void U() throws Exception
	{
		switch (C)
		{
		case 1: // '\001'
			return;

		case 2: // '\002'
			e();
			b(true);
			return;

		case 3: // '\003'
			return;

		case 4: // '\004'
			Pica.j.setCurrent(new Alert("提示", "正在退出,请稍候...", null, AlertType.INFO));
			Pica.c();
			return;

		case 5: // '\005'
			Pica.e.i();
			return;

		case 6: // '\006'
			V();
			return;

		case 7: // '\007'
			W();
			return;

		case 8: // '\b'
			X();
			return;

		case 9: // '\t'
			Y();
			return;

		case 10: // '\n'
			d(u);
			return;

		case 11: // '\013'
			e(u);
			return;

		case 12: // '\f'
			Z();
			return;

		case 13: // '\r'
			Z();
			return;

		case 14: // '\016'
			f(u);
			return;

		case 15: // '\017'
			aa();
			return;

		case 21: // '\025'
			m("sms");
			return;

		case 22: // '\026'
			m("wap");
			return;

		case 23: // '\027'
			m("ivr");
			// fall through

		case 16: // '\020'
		case 17: // '\021'
		case 18: // '\022'
		case 19: // '\023'
		case 20: // '\024'
		default:
			return;
		}
	}

	private static void V() throws Exception
	{
		Pica.h.a(u, "unsubscribe", null, null, 0);
		a("正在发送请求,请稍候...", 3000, Pica.l);
		Pica.l.a();
		return;
//		JVM INSTR dup ;
//		Exception exception;
//		exception;
//		printStackTrace();
//		Pica.l.a();
//		return;
//		Exception exception1;
//		exception1;
//		Pica.l.a();
//		throw exception1;
	}

	private static void W()
	{
		Exception exception;
		m m1;
		try
		{
			if ((m1 = D) != null)
			{
				Pica.h.e("unavailable", ((o) (m1)).j);
				if (m1.t == 2 || m1.t == 1)
					Pica.h.a(((o) (m1)).j, "unsubscribe", null, null, 0);
				Pica.h.a(((o) (m1)).j);
				a("正在发送请求,请稍候...", 3000, Pica.l);
			}
		}
		catch (Exception  e)
		{
			Pica.l.a();
			return;
		}
		finally
		{
			Pica.l.a();
		}
		Pica.l.a();
		return;
//		throw exception;
	}

	private static void X() throws IOException, Exception
	{
		Pica.h.b(u);
		Pica.h.c(u, null, null, null);
		Pica.h.a(u, "subscribe", null, null, 0);
		a("正在发送请求,请稍候...", 5000, Pica.l);
		Pica.l.a();
		return;
//		JVM INSTR dup ;
//		Exception exception;
//		exception;
//		printStackTrace();
//		Pica.l.a();
//		return;
//		Exception exception1;
//		exception1;
//		Pica.l.a();
//		throw exception1;
	}

	private static void Y()
	{
		Exception exception;
		try
		{
			Pica.h.b(u);
			a("正在发送请求,请稍候...", 3000, Pica.l);
		}
		catch (Exception  e)
		{
			Pica.l.a();
			return;
		}
		finally
		{
			Pica.l.a();
		}
		Pica.l.a();
		return;
//		throw exception;
	}

	private static void Z()
	{
label0:
		{
			Object obj = null;
			try
			{
				Pica.h.g(u, "none");
			}
			catch (Exception  e)
			{
				Pica.l.a();
				break label0;
			}
			finally
			{
				Pica.l.a();
//				throw exception;
			}
			Pica.l.a();
			break label0;
		}
		String s1;
		if (C == 12)
			s1 = "正在解散该群,请稍候!";
		else
			s1 = "正在退出该群,请稍候!";
		a(s1, 3000, Pica.l);
	}

	private static void aa()
	{
		Exception exception;
		try
		{
			Pica.h.k(u, "owner");
			a("正在转让该群,请稍候!", 3000, Pica.l);
		}
		catch (Exception  e)
		{
			Pica.l.a();
			return;
		}
		finally
		{
			Pica.l.a();
		}
		Pica.l.a();
		return;
///		throw exception;
	}

	private static String a(String s1, char c1)
	{
		int i1;
		if ((i1 = s1.indexOf(c1)) >= 0)
			return s1.substring(0, i1);
		else
			return s1;
	}

	private static String a(f f1)
	{
		String s1;
		if ((s1 = f1.c().trim()) == null || s1.length() == 0)
			s1 = "";
		else
		if (s1.startsWith("86"))
			s1 = s1.substring(2);
		else
		if (s1.startsWith("+86"))
			s1 = s1.substring(3);
		return s1;
	}

	private static boolean h(String s1)
	{
		boolean flag = true;
		if (s1.length() != 11 || !s1.startsWith("1"))
			flag = false;
		return flag;
	}

	private static void i(String s1)
	{
		try
		{
			Pica.h.a(u, s1, null, null, 0);
			Pica.ag.removeElementAt(0);
			if (Pica.ag.isEmpty())
			{
				Pica.af = true;
				Pica.l.a();
			} else
			{
				b();
			}
			return;
		}
		catch (Exception  e)
		{
			return;
		}
	}

	private static void a(String s1, boolean flag) throws Exception
	{
		String s2;
		if ((s2 = p.c()).equals("黑名单") || s2.equals("陌生人") || s2.equals("QQ") || s2.equals("MSN"))
		{
			a("不能将好友加入该组", 1, ((Displayable) (Pica.l)));
			return;
		}
		if (s2.equals("我的好友") || s2.length() == 0)
			s2 = null;
		Pica.ae = s1;
		Pica.h.c(s1, null, s2, null);
		if (flag)
			Pica.h.a(s1, "subscribe", null, q.c(), 0);
		a("正在发送请求,请稍候...", 3000, ((Displayable) (Pica.l)));
		Pica.l.a();
//		return;
//		JVM INSTR pop ;
		if (flag)
			a("加载联系人错误,请稍后再试!", 2, ((Displayable) (Pica.l)));
		Pica.l.a();
		return;
//		Exception exception;
//		exception;
//		Pica.l.a();
//		throw exception;
	}

	private static void j(String s1)
	{
		m m1;
		if ((m1 = Pica.m.b(u)) != null && (m1.t & 2) == 0)
		{
			a("不能向该用户发送信息!", 3000, Pica.l);
			return;
		}
		if (Pica.aW != null)
		{
			Pica.aW.cancel();
			Pica.aW = null;
			Pica.l.A = false;
			d d1;
			(d1 = (d)v.c).l.l = null;
		}
		String s2;
		if (x.equals("freesms.pica"))
			s2 = "发给:PICA短信";
		else
			s2 = "发给:" + x;
		Pica.j.setCurrent(new h(s2, u, x, null, Pica.l, s1));
	}

	private static void b(String s1, String s2)
	{
//		Exception exception;
		if (s1 != null)
		{
			try
			{
				Pica.h.b(s2, "", s1, b.y, null);
				p p1;

⌨️ 快捷键说明

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