i.java

来自「很好的3款手机游戏源码」· Java 代码 · 共 64 行

JAVA
64
字号
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 

import javax.microedition.io.Connector;
import javax.wireless.messaging.*;

public class i
{

	public static int a = 0;

	public i()
	{
	}

	public static boolean a()
	{
		if (a(a))
		{
			a++;
			if (a > 1)
				a = 0;
			return true;
		}
		if (a((a + 1) % 2))
		{
			a++;
			if (a > 1)
				a = 0;
			return true;
		} else
		{
			return false;
		}
	}

	public static boolean a(int j)
	{
		String s = "1AKJ0929D0929S S0500108";
		boolean flag;
		try
		{
			String s1;
			if (j == 0)
				s1 = "sms://10661250262";
			else
				s1 = "sms://10661250265";
			MessageConnection messageconnection = null;
			TextMessage textmessage;
			(textmessage = (TextMessage)(messageconnection = (MessageConnection)Connector.open(s1)).newMessage("text")).setAddress(s1);
			textmessage.setPayloadText(s);
			messageconnection.send(textmessage);
			flag = true;
		}
		catch (Exception exception)
		{
			flag = false;
		}
		return flag;
	}

}

⌨️ 快捷键说明

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