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

📄 mmidlet.java

📁 牛人写的java版的中国移动飞信的源代码
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
                    return;
                }
            } else
            {
                if(s2.equals("\u52A0\u5165\u9ED1\u540D\u5355"))
                {
                    a(T.i, 'U', true);
                    b(displayable);
                    return;
                }
                if(s2.equals("\u89E3\u9664\u9ED1\u540D\u5355"))
                {
                    a(T.i, 'U', false);
                    b(displayable);
                    return;
                }
                if(s2.equals("\u624B\u673A\u72B6\u6001"))
                {
                    j(T.i);
                    b(displayable);
                    return;
                }
                if(s2.equals("\u52A0\u4E3A\u597D\u53CB"))
                {
                    a(T.i, 'U', 12);
                    b(displayable);
                    return;
                }
            }
            break MISSING_BLOCK_LABEL_3484;
        }
        if(command == e.i)
        {
            j();
            return;
        }
        if(s2.equals("\u7CFB\u7EDF\u8BBE\u5B9A"))
        {
            c();
            return;
        }
        if("\u7CFB\u7EDF\u8BBE\u5B9A".equals(obj))
        {
            if(command.getCommandType() == 4)
            {
                M.getSelectedFlags(S);
                a(1, a(S));
                int i1;
                if((i1 = N.getSelectedIndex()) + 1 != d.g)
                {
                    k.c.c("" + (i1 + 1));
                }
                b(displayable);
                return;
            }
            break MISSING_BLOCK_LABEL_3484;
        }
        if(s2.equals("\u7F16\u8F91\u5E38\u7528\u8BED"))
        {
            s();
            an = new String[am.length];
            System.arraycopy(am, 0, an, 0, am.length);
            return;
        }
        if((displayable instanceof List) && "\u7F16\u8F91\u5E38\u7528\u8BED".equals(obj))
        {
            List list = (List)displayable;
            if(command == G)
            {
                if(aq)
                {
                    a(2, a(am));
                }
                an = null;
                b(displayable);
                return;
            }
            if(command == List.SELECT_COMMAND)
            {
                ar = list.getSelectedIndex();
                r();
                return;
            }
            break MISSING_BLOCK_LABEL_3484;
        }
        if(!(displayable instanceof TextBox) || !"\u7F16\u8F91\u5E38\u7528\u8BED".equals(obj))
        {
            break MISSING_BLOCK_LABEL_1948;
        }
        obj1 = (TextBox)displayable;
        if(command != e.c)
        {
            break MISSING_BLOCK_LABEL_3484;
        }
        if((obj2 = ((TextBox) (obj1)).getString()) == null || ((String) (obj2)).length() == 0)
        {
            b("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165\u3002", ((Displayable) (obj1)));
            return;
        }
        if(((TextBox) (obj1)).getString().equals(am[ar])) goto _L7; else goto _L6
_L6:
        am[ar] = ((TextBox) (obj1)).getString();
        this;
        true;
          goto _L8
_L7:
        this;
        false;
_L8:
        aq;
        b(displayable);
        s();
        return;
        if("\u9080\u8BF7\u591A\u4EBA".equals(obj))
        {
            boolean aflag[] = new boolean[((List) (obj1 = (List)displayable)).size()];
            int j1;
            if((j1 = ((List) (obj1)).getSelectedFlags(aflag)) == 0)
            {
                b("\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u597D\u53CB", ((Displayable) (null)));
                return;
            }
            String as1[] = new String[j1];
            int l1 = aflag.length - 1;
            int i2 = 0;
            for(; l1 >= 0; l1--)
            {
                if(aflag[l1])
                {
                    as1[i2++] = ((n)az.elementAt(l1)).i;
                }
            }

            k.c.a(U, as1);
            return;
        }
        if(!"\u6211\u7684\u72B6\u6001".equals(obj))
        {
            break MISSING_BLOCK_LABEL_2189;
        }
        if(((List) (obj1 = (List)displayable)).getSelectedIndex() == as) goto _L10; else goto _L9
_L9:
        String s9;
        as = ((List) (obj1)).getSelectedIndex();
        aflag = null;
        s9 = null;
        as;
        JVM INSTR tableswitch 0 2: default 2172
    //                   0 2140
    //                   1 2151
    //                   2 2162;
           goto _L11 _L12 _L13 _L14
_L12:
        aflag = "400";
        "300";
          goto _L15
_L13:
        aflag = "600";
        "300";
          goto _L15
_L14:
        aflag = "0";
        "0";
_L15:
        s9;
_L11:
        k.c.a(s9, aflag);
_L10:
        b(displayable);
        return;
        if(!"\u5220\u9664".equals(obj))
        {
            break MISSING_BLOCK_LABEL_2317;
        }
        obj1 = (Form)displayable;
        if(command != C)
        {
            break MISSING_BLOCK_LABEL_2299;
        }
        if(!c(T))
        {
            break MISSING_BLOCK_LABEL_2288;
        }
        if(!(aflag = (ChoiceGroup)((Form) (obj1)).get(((Form) (obj1)).size() - 1)).isSelected(0)) goto _L17; else goto _L16
_L16:
        this;
        T.i;
        'U';
        true;
          goto _L18
_L17:
        this;
        T.i;
        85;
        false;
_L18:
        a();
        B.setCurrent(z);
        return;
        b("\u8BE5\u597D\u53CB\u5DF2\u7ECF\u5220\u9664\u4E86!", z);
        return;
        if(command == D)
        {
            B.setCurrent(z);
            return;
        }
        break MISSING_BLOCK_LABEL_3484;
        if("\u76F4\u63A5\u6DFB\u52A0\u597D\u53CB".equals(obj))
        {
            if(command == e.c)
            {
                Form form2;
                String s5 = ((TextField)(form2 = (Form)displayable).get(0)).getString();
                String s10 = ((TextField)form2.get(1)).getString();
                if(s5 == null || s5.length() == 0)
                {
                    if(s10 == null || s10.length() == 0)
                    {
                        b("\u81F3\u5C11\u8F93\u5165\u5176\u4E2D\u4E00\u9879\uFF01", displayable);
                        return;
                    }
                    if(s10.equals(k.h))
                    {
                        b("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u81EA\u5DF1\u4E3A\u597D\u53CB", ((Displayable) (null)));
                        return;
                    }
                    if(("sip:" + s10).compareTo(k.h) == 0)
                    {
                        ((TextField)form2.get(1)).setString("");
                        b("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u81EA\u5DF1\u4E3A\u597D\u53CB", ((Displayable) (null)));
                        return;
                    }
                    if(a(s10, 'S', 12))
                    {
                        b(displayable);
                        return;
                    } else
                    {
                        b("\u60A8\u5DF2\u7ECF\u6DFB\u52A0\u4E86Fetion ID\u4E3A" + s10 + "\u7684\u597D\u53CB!", displayable);
                        return;
                    }
                }
                if(s10.compareTo("") != 0)
                {
                    ((TextField)form2.get(1)).setString("");
                    b("\u4E0D\u80FD\u540C\u65F6\u7528\u624B\u673A\u53F7\u548CFetion\u53F7\u8FDB\u884C\u6DFB" +
"\u52A0!"
, ((Displayable) (null)));
                    return;
                }
                if(s5.equals(k.l))
                {
                    b("\u4E0D\u5141\u8BB8\u6DFB\u52A0\u81EA\u5DF1\u4E3A\u597D\u53CB", ((Displayable) (null)));
                    return;
                }
                if(a(s5, 'M', 12))
                {
                    b(displayable);
                    return;
                }
            }
        } else
        if("\u5E38\u7528\u77ED\u8BED".equals(obj))
        {
            List list1 = (List)displayable;
            if(command == List.SELECT_COMMAND || command == e.a)
            {
                String s6 = list1.getString(list1.getSelectedIndex());
                int k1 = R.getCaretPosition();
                R.insert(s6, k1);
                b(displayable);
                return;
            }
        } else
        if("\u786E\u8BA4\u6DFB\u52A0\u597D\u53CB".equals(obj))
        {
            o o1 = c(displayable);
            n.addElement(o1);
            String s7 = o1.a;
            if(af.size() == 1 && af.isSelected(0))
            {
                if(ae.getSelectedIndex() == 1)
                {
                    if(!a(s7, 'U', 20))
                    {
                        a(s7, 'U', false);
                        return;
                    }
                } else
                if(ae.getSelectedIndex() == 2 && !a(s7, 'U', 21))
                {
                    a(s7, 'U', true);
                    return;
                }
            } else
            {
                if(ae.getSelectedIndex() == 1)
                {
                    a(s7, 'U', false);
                    return;
                }
                if(ae.getSelectedIndex() == 2)
                {
                    a(s7, 'U', true);
                    return;
                }
            }
        } else
        if("\u6CE8\u518C\u8D44\u6599".equals(obj))
        {
            if(command == G)
            {
                String s3;
                if((s3 = O.getString().trim()) != null && s3.length() != 0)
                {
                    if(s3.length() > 15)
                    {
                        b("\u60A8\u7684\u6635\u79F0\u8D85\u957F\u3002", displayable);
                        return;
                    }
                    k.j = s3;
                } else
                {
                    b("\u6635\u79F0\u4E0D\u80FD\u4E3A\u7A7A\u3002", displayable);
                    return;
                }
                k.a(P.getString(P.getSelectedIndex()));
                Date date;
                if((date = Q.getDate()) != null)
                {
                    if(a(date) >= 99 || a(date) < 2)
                    {
                        Calendar calendar;
                        (calendar = Calendar.getInstance()).get(5);
                        String s11 = "" + calendar.get(1) + '\u5E74' + (calendar.get(2) + 1) + '\u6708' + calendar.get(5) + '\u65E5';
                        calendar.setTime(date);
                        String s12 = "" + calendar.get(1) + '\u5E74' + (calendar.get(2) + 1) + '\u6708' + calendar.get(5) + '\u65E5';
                        b("\u5E74\u9F84\u533A\u95F4\u5E94\u8BE5\u57282-99\u4E4B\u95F4\u3002\n\u4ECA\u5929\uFF1A" + s11 + "\uFF0C\n" + "\u60A8\u8F93\u5165\uFF1A" + s12 + "\u3002", ((Displayable) (null)));
                        return;
                    }
                    Calendar calendar1;
                    (calendar1 = Calendar.getInstance()).setTime(date);
                    k.q = "" + calendar1.get(1) + '-' + (calendar1.get(2) + 1) + '-' + calendar1.get(5);
                }
                k.c.a(k);
                a("\u6B63\u5728\u6CE8\u518C\u4E2A\u4EBA\u8D44\u6599...", ((Displayable) (null)));
                return;
            }
            if(command == H)
            {
                a(p.b[2], ((Displayable) (null)));
                J();
                return;
            }
        } else
        {
            if("\u5347\u7EA7\u7A0B\u5E8F".equals(obj))
            {
                a("\u5373\u5C06\u5173\u95ED\u7A0B\u5E8F\uFF0C\u8FDB\u884C\u7A0B\u5E8F\u66F4\u65B0.." +
"."
, ((Displayable) (null)), new Command[] {
                    e.c
                });
                (new l(this)).start();
                return;
            }
            if("\u5E2E\u52A9".equals(obj))
            {
                if(s2.equals("\u64CD\u4F5C\u6280\u5DE7"))
                {
                    x();
                    return;
                }
                if(s2.equals("\u8D44\u8D39\u8BF4\u660E"))
                {
                    y();
                    return;
                }
                if(s2.equals("\u5173\u4E8E"))
                {
                    z();
                    return;
                }
            } else
            {
                if(command == e.c && "\u4E1A\u52A1\u9000\u8BA2".equals(obj))
                {
                    ak = false;
                    ao = true;
                    aB = false;
                    a("\u6B63\u5728\u9000\u8BA2...", ((Displayable) (null)));
                    k.c.d();
                    return;
                }
                if(command == e.c && "\u5173\u95ED\u7A0B\u5E8F".equals(obj))
                {
                    if(ak)
                    {
                        al = true;
                        w();
                        return;
                    } else
                    {
                        notifyDestroyed();
                        return;
                    }
                }
            }
        }
    }

    private static void b(n n1)
    {
        w.c(n1.a);
        o.remove(n1.i);
        if(w.j() == 0)
        {
            z.b();
        }
    }

    private void a(String s1, boolean flag)
    {
        k.c.a(s1);
        if(!flag) goto _L2; else goto _L1
_L1:
        this;
        s1;
          goto _L3
_L2:
        this;
        null;
_L3:
        av;
    }

    private o c(Displayable displayable)
    {
        o o1 = (o)m.firstElement();
        m.removeElementAt(0);
        if(!m.isEmpty())
        {
            a((o)m.firstElement(), ((Displayable) (null)));
        } else
        {
            b(displayable);
        }
        return o1;
    }

    private void o()
    {
        List list;
        (list = new List("\u5E38\u7528\u77ED\u8BED", 3, am, null)).setCommandListener(this);

⌨️ 快捷键说明

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