(转载)修改QQ右键发送详细教程
2013-08-30 19:55:09 -0400
BE搜toolbar.png,出现一个类,在搜toolbar.png出现一个方法,打开方法在搜TextBox
出现下列代码(不同QQ有差异);
aload_0
new javax/microedition/lcdui/TextBox
dup
sipush 277
invokestatic em/a(I)Ljava/lang/String;
ldc ""
sipush 190
iconst_0
invokespecial javax/microedition/lcdui/TextBox/<init>(Ljava/lang/String;Ljava/lang/String;II)V
putfield dc/ab Ljavax/microedition/lcdui/TextBox;
aload_0
new javax/microedition/lcdui/Command
dup
iconst_1
invokestatic em/a(I)Ljava/lang/String;
iconst_2
iconst_1
invokespecial javax/microedition/lcdui/Command/<init>(Ljava/lang/String;II)V
putfield dc/ad Ljavax/microedition/lcdui/Command;
aload_0
new javax/microedition/lcdui/Command
dup
bipush 39
invokestatic em/a(I)Ljava/lang/String;
iconst_1
iconst_1
invokespecial javax/microedition/lcdui/Command/<init>(Ljava/lang/String;II)V
putfield dc/ae Ljavax/microedition/lcdui/Command;
aload_0
new javax/microedition/lcdui/Command
dup
bipush 40
invokestatic em/a(I)Ljava/lang/String;
iconst_1
iconst_2
对应源码应该是
ab = new TextBox(em.a(277), "", 190, 0);//这行是去字限
ad = new Command(em.a(1), 2, 1);//右键返回
ae = new Command(em.a(39), 1, 1);//左键发送
af = new Command(em.a(40), 1, 2);//好像是表情
只要把2,1和,1,1换过来就行,也就是把上面字码中的
iconst_2
iconst_1
改为
iconst_1
iconst_1
把
iconst_1
iconst_1
改为
iconst_2
iconst_1
【By艾网某大神】
Back to home
Subscribe |
Register |
Login
| N