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

📄 y.java

📁 // pica客户端J2ME源码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
                                if (f == "删除")
                                {
                                        g();
                                        return;
                                }
                        } else
                        if (b.t == 0)
                        {
                                if (f == "详细资料")
                                {
                                        b();
                                        return;
                                }
                                if (f == "加为好友")
                                {
                                        b(((o) (b)).j);
                                        return;
                                }
                                if (f == "删除")
                                {
                                        h();
                                        return;
                                }
                        } else
                        if (b.t == 6)
                        {
                                if (f == "写信息")
                                {
                                        c();
                                        return;
                                }
                                if (f == "聊天记录")
                                {
                                        b = (m)Pica.m.b;
                                        a(null, e);
                                        return;
                                }
                                if (f == "详细资料")
                                {
                                        b();
                                        return;
                                }
                                if (f == "PICA空间")
                                {
                                        j();
                                        return;
                                }
                                if (f == "加为好友")
                                {
                                        i();
                                        return;
                                }
                                if (f == "加黑名单")
                                {
                                        f();
                                        return;
                                }
                        }
                 }//g == 3
//		break MISSING_BLOCK_LABEL_1355;
		if (g == 4)
		{
			if (f == "进入")
				if (i.q.equals("pending"))
				{
					return;
				} else
				{
					Pica.J.a();
					return;
				}
			if (f == "查看群资料")
				try
				{
					Pica.h.h(e);
					w.a("正在查询,请稍候...", 2, Pica.l);
					return;
				}
				catch (Exception  e)
				{
					return;
				}
			if (f == "解散群")
			{
				String s3 = "你是否确定解散该群?";
				w.al("提示", s3, e, 12);
				return;
			}
			if (f == "退出群")
			{
				String s4 = "你是否确定退出该群?";
				w.al("提示", s4, e, 13);
				return;
			}
		} else
		if (g == 5)
		{
			if (f == "群名片")
			{
				Pica.h.f(d.j);
				w.a("正在发送请求,请稍候!", 3000, Pica.l);
				return;
			}
			if (f == "加为好友")
			{
				String s5;
				w.a(s5 = d.j.substring(0, d.j.indexOf("%")), "我的好友");
				return;
			}
			if (f == "悄悄话")
			{
				String s6 = null;
				String s11 = d.j;
				String s12 = d.i;
				s6 = "发给:" + s12;
				Pica.j.setCurrent(new h(s6, s11, s12, "chat", true, Pica.l));
				return;
			}
			if (f == "设为授权成员")
				try
				{
					Pica.h.k(d.j, "au-member");
					w.a("正在发送请求,请稍候!", 3000, Pica.l);
					return;
				}
				catch (Exception  e)
				{
					return;
				}
			if (f == "设为管理员")
				try
				{
					Pica.h.k(d.j, "admin");
					w.a("正在发送请求,请稍候!", 3000, Pica.l);
					return;
				}
				catch (Exception  e)
				{
					return;
				}
			if (f == "设为普通权限成员")
				try
				{
					Pica.h.k(d.j, "member");
					w.a("正在发送请求,请稍候!", 3000, Pica.l);
					return;
				}
				catch (Exception  e)
				{
					return;
				}
			if (f == "开除出群")
			{
				String s7 = "确定要将[" + d.i + "]开除出群?";
				w.al("提示", s7, d.j, 14);
				return;
			}
			if (f == "转让群")
			{
				String s8 = "确定要将群转让给[" + d.i + "]吗?";
				w.al("提示", s8, d.j, 15);
			}
		}
	}

	private void b()
	{
		m m1;
		if ((m1 = b) == null)
			return;
		if (((o) (m1)).j.indexOf("msn.pica") != -1)
		{
			String s = "MSN帐号:" + ((o) (m1)).j.substring(0, ((o) (m1)).j.indexOf('@')).replace('%', '@') + "\n" + "昵称:" + m1.a;
			w.al("好友信息:", s, null, 3);
			return;
		} else
		{
			Pica.h.f(((o) (m1)).j);
			w.a("正在查询,请稍候...", 2, Pica.l);
			return;
		}
	}

	private void a(String s, String s1)
	{
		if (!w.a(b, true))
		{
			if (s != null)
				try
				{
					Pica.h.b(s1, "", s, null, null);
					p p1;
					(p1 = new p(-1, s1, "", "", "", s, "", 2, (String[][])null, null)).t = "";
					if (pica.j.a(p1))
						Pica.a(p1);
					Pica.e.a(p1, false);
					Pica.l.a(1);
					Pica.j.setCurrent(Pica.l);
					return;
				}
				catch (Exception  e)
				{
					return;
				}
			m m1 = (m)Pica.m.b;
			Pica.m.c(((o) (m1)).j);
			ah.a(null, ((o) (m1)).j);
		}
	}

	private static void c()
	{
		m m1 = (m)Pica.m.b;
		Pica.m.c(((o) (m1)).j);
		ah.a(null, ((o) (m1)).j);
	}

	public final void run()
	{

		String s;
                                    try {
		MessageConnection messageconnection;
		c = Pica.l.h;
		s = "sms://" + b.vss[c][4];
		messageconnection = null;
		TextMessage textmessage;

            (textmessage = (TextMessage)(messageconnection = (MessageConnection)Connector.open(s)).newMessage("text")).setPayloadText(b.vss[c][3]);

		messageconnection.send(textmessage);
//		  goto _L1
//		JVM INSTR dup ;
//		Object obj;
//		obj;
//		printStackTrace();
//_L1:
		if (messageconnection == null){
                    //goto _L3; else goto _L2
//_L2:
		messageconnection.close();
//		  goto _L3
//		JVM INSTR dup ;
//		obj;
//		printStackTrace();
//_L3:
 
		Pica.j.setCurrent(Pica.l);
                
                                       }
                }
                                     catch (IOException ex) {
            ex.printStackTrace();
        }
		return;
	}

	private void d()
	{
		m m1;
		if ((m1 = b) == null)
		{
			return;
		} else
		{
			w.b(m1);
			return;
		}
	}

	private void e()
	{
		m m1;
		if ((m1 = b) == null)
		{
			return;
		} else
		{
			w.a(m1);
			return;
		}
	}

	private void f()
	{
		m m1;
		if ((m1 = b) == null)
		{
			return;
		} else
		{
			String s = "你确定要把'" + m1.a + "(" + ((o) (m1)).j.substring(0, ((o) (m1)).j.indexOf("@")) + ")'放入黑名单吗?";
			e = ((o) (m1)).j;
			w.a("提示", s, this, 7);
			return;
		}
	}

	private void g()
	{
		String s = "你确定要删除'" + b.a + "'吗?";
		e = ((o) (b)).j;
		w.al("提示", s, e, 6);
	}

	private void h()
	{
		if (b == null)
		{
			return;
		} else
		{
			String s = "是否将联系人 " + b.a + " 从黑名单中删除?";
			e = ((o) (b)).j;
			w.al("提示", s, e, 9);
			return;
		}
	}

	private void b(String s)
	{
		String s1 = "该用户在黑名单中,是否解除该用户的黑名单并将其加入\"我的好友\"分组中?";
		e = s;
		w.al("提示", s1, e, 8);
	}

	private void i()
	{
		m m1;
		if ((m1 = b) == null)
		{
			return;
		} else
		{
			String s;
			w.a(s = ((o) (m1)).j.substring(0, ((o) (m1)).j.indexOf("@")), "我的好友");
			return;
		}
	}

	private void j()
	{
		try
		{
			Pica.h.d("get", e);
			b.c = "";
			w.a("正在获取PICA空间,请稍后...", 5000, Pica.l);
			return;
		}
		catch (Exception  e)
		{
			return;
		}
	}
}

⌨️ 快捷键说明

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