亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jimm.java.svn-base

?? 類似QQ的功能
?? SVN-BASE
字號(hào):
/******************************************************************************* Jimm - Mobile Messaging - J2ME ICQ clone Copyright (C) 2003-07  Jimm Project This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. ******************************************************************************** File: src/jimm/Jimm.java Version: ###VERSION###  Date: ###DATE### Author(s): Manuel Linsmayer, Andreas Rossbacher *******************************************************************************/package jimm;import jimm.comm.Icq;import jimm.util.ResourceBundle;import jimm.MainThread;import java.util.Timer;import javax.microedition.lcdui.*;import javax.microedition.midlet.MIDlet;import javax.microedition.midlet.MIDletStateChangeException;import DrawControls.ImageList;import DrawControls.VirtualList;//#sijapp cond.if target is "MOTOROLA"#//# import jimm.TimerTasks;//# import jimm.Jimm;//# import jimm.Options;//# import com.motorola.funlight.*;//#sijapp cond.end#public class Jimm extends MIDlet{	// Version	public static String VERSION;	// Application main object	public static Jimm jimm;	// Display object	public static Display display;	/****************************************************************************/		private static StringBuffer loadError = new StringBuffer();		public static void setLoadError(String value)	{		loadError.append(value).append("\n\n");	}		static public final int PHONE_SONYERICSSON = 1000;	static public final int PHONE_NOKIA        = 1001;	static private int phoneType;		static public int getPhoneVendor()	{		return phoneType;	}	// ICQ object	private Icq icq;	// Options container 	 	private Options o;	// Main menu object	private MainMenu mm;	// Contact list object	private ContactList cl;	// Chat history object	private ChatHistory ch;	//#sijapp cond.if target is "MOTOROLA" & (modules_FILES="true"|modules_HISTORY="true")#	//#	static public final boolean supports_JSR75;	//#sijapp cond.end#	// Timer object	private static Timer timer = new Timer();	//#sijapp cond.if modules_TRAFFIC is "true" #	// Traffic counter	private Traffic traffic;	//#sijapp cond.end#	// Splash canvas object	private SplashCanvas sc;	// Storage for messages	//#sijapp cond.if modules_HISTORY is "true" #	private HistoryStorage history;	//#sijapp cond.end#	//#sijapp cond.if modules_PIM is "true" #	public static PhoneBook phoneBook;	//#sijapp cond.end#	private JimmUI ui;	public static final String microeditionPlatform = System.getProperty("microedition.platform");	public static final String microeditionProfiles = System.getProperty("microedition.profiles");	public static int cmdBack = Command.BACK;	//#sijapp cond.if target="MOTOROLA"|target="MIDP2"#	static	{		if (microeditionPlatform != null)		{			String melc = microeditionPlatform.toLowerCase();			if (melc.indexOf("ericsson") != -1) {				phoneType = PHONE_SONYERICSSON;				try				{				String jp = System.getProperty("com.sonyericsson.java.platform").toLowerCase();				if (jp.indexOf("sjp") != -1)					cmdBack = Command.CANCEL;				} catch (Exception e) {} //Do nothing			}			else if (melc.indexOf("nokia") != -1)				phoneType = PHONE_NOKIA;		}		//#sijapp cond.if target is "MOTOROLA" & (modules_FILES="true"|modules_HISTORY="true")#		//#		boolean jsr75 = false;		//#		try		//#		{		//#			jsr75 = Class.forName("javax.microedition.io.file.FileConnection") != null;		//#		}		//#		catch (ClassNotFoundException cnfe)		//#		{		//#		}		//#		finally		//#		{		//#			supports_JSR75 = jsr75;		//#		}		//#sijapp cond.end#	}	//#sijapp cond.end#	// Start Jimm	public void startApp() throws MIDletStateChangeException	{		// Return if MIDlet has already been initialized		if (Jimm.jimm != null)		{			showWorkScreen();			return;		}		//#sijapp cond.if target="MIDP2"#		ImageList.setUseAlpha(Display.getDisplay(this).numAlphaLevels() > 2);//#sijapp cond.end#				// Save MIDlet reference		Jimm.jimm = this;		// Get Jimm version		Jimm.VERSION = this.getAppProperty("Jimm-Version");		if (Jimm.VERSION == null)			Jimm.VERSION = "###VERSION###";		// Create options container 	 		this.o = new Options();		// Create splash canvas object		this.sc = new SplashCanvas(ResourceBundle.getString("loading"));		// Check available heap memory, display warning if less then 250 KB		System.gc();		if (Runtime.getRuntime().totalMemory() < 256000)		{			Alert errorMsg = new Alert(ResourceBundle.getString("warning"),					JimmException.getErrDesc(170, 0), null, AlertType.WARNING);			errorMsg.setTimeout(Alert.FOREVER);			Display.getDisplay(this).setCurrent(errorMsg, this.sc);			try			{				Thread.sleep(3000);			} catch (InterruptedException e)			{				// Do nothing			}		}		// Display splash canvas		else		{			Display.getDisplay(this).setCurrent(this.sc);		}		// Get display object (and update progress indicator)		Jimm.display = Display.getDisplay(this);		SplashCanvas.setProgress(10);				VirtualList.setDisplay(Jimm.display);		VirtualList.setMirrorMenu(Options.getBoolean(Options.OPTION_MIRROR_MENU));		VirtualList.setCapOffset(Options.getInt(Options.OPTION_CAPTION_OFFSET));//#sijapp cond.if target!="DEFAULT"#		Options.setBackgroundImage( 				Options.getInt   (Options.OPTION_BG_IMAGE),				Options.getString(Options.OPTION_BG_IMAGE_URL),				Options.getInt   (Options.OPTION_BG_IMAGE_MODE)		);//#sijapp cond.end#		// Create ICQ object (and update progress indicator)		this.icq = new Icq();		SplashCanvas.setProgress(20);		// Create object for text storage (and update progress indicator)		//#sijapp cond.if modules_HISTORY is "true" #		history = new HistoryStorage();		SplashCanvas.setProgress(30);		//#sijapp cond.end#		// Initialize main menu object (and update progress indicator)		this.mm = new MainMenu();		SplashCanvas.setProgress(40);		//#sijapp cond.if modules_TRAFFIC is "true" #		// Create traffic Object (and update progress indicator)		this.traffic = new Traffic();		SplashCanvas.setProgress(50);		//#sijapp cond.end#		// Create contact list object (and update progress indicator)		this.cl = new ContactList();		ContactList.beforeConnect();		SplashCanvas.setProgress(60);		//#sijapp cond.if modules_PIM is "true" #		Jimm.phoneBook = new PhoneBook();		SplashCanvas.setProgress(65);		//#sijapp cond.end#		// Create chat hisotry object (and update progress indicator)		this.ch = new ChatHistory();		SplashCanvas.setProgress(70);				new MainThread();						SplashCanvas.setProgress(80);		// Create and load emotion icons		//#sijapp cond.if modules_SMILES_STD="true" | modules_SMILES_ANI="true" #		new Emotions();		SplashCanvas.setProgress(90);		//#sijapp cond.end#		new Templates();		ui = new JimmUI();				//#sijapp cond.if target="MOTOROLA" | target="MIDP2"#		DrawControls.VirtualList.setBackLightData		(			Options.getBoolean(Options.OPTION_LIGHT_MANUAL),			Options.getInt(Options.OPTION_LIGHT_TIMEOUT)		);		//#sijapp cond.end#		if (loadError.length() == 0)		{			if (Options.getBoolean(Options.OPTION_AUTO_CONNECT))			{				// Connect				Icq.reconnect_attempts = (Options.getBoolean(Options.OPTION_RECONNECT)) ?							Options.getInt(Options.OPTION_RECONNECT_NUMBER) : 0;				ContactList.beforeConnect();				Icq.connect();			} 			else			{				// Activate main menu				MainMenu.activateMenu();			}		}		else		{			JimmUI.showLoadError(loadError.toString());		}		loadError = null;				JimmUI.startTaskForTimeString();				// Start one minute task 		new Timer().schedule(new TimerTasks(TimerTasks.TYPE_MINUTE), 60*1000, 60*1000);	}	// Pause	public void pauseApp()	{		// Do nothing	}	// Destroy Jimm	public void destroyApp(boolean unconditional)			throws MIDletStateChangeException	{		// Disconnect		Icq.disconnect(false);		// Save traffic		//#sijapp cond.if modules_TRAFFIC is "true" #		try		{			Traffic.save();		} catch (Exception e)		{ // Do nothing		}		//#sijapp cond.end#		Jimm.display.setCurrent(null);		this.notifyDestroyed();	}	// Returns a reference to ICQ object	public Icq getIcqRef()	{		return (this.icq);	}	// Returns a reference to options container 	 	public Options getOptionsRef()	{		return (this.o);	}	// Returns a reference to the main menu object	public MainMenu getMainMenuRef()	{		return (this.mm);	}	// Returns a reference to the contact list object	public ContactList getContactListRef()	{		return (this.cl);	}	// Returns a reference to the chat history list object	public ChatHistory getChatHistoryRef()	{		return (this.ch);	}	//#sijapp cond.if modules_HISTORY is "true" #	// Returns a reference to the stored history object	public HistoryStorage getHistory()	{		return (this.history);	}	//#sijapp cond.end#	// Returns a reference to the timer object	static public Timer getTimerRef()	{		return timer;	}	// Cancels the timer and makes a new one	public void cancelTimer()	{		try		{			timer.cancel();		} catch (IllegalStateException e)		{		}		timer = new Timer();	}	// Returns a reference to splash canvas object	public SplashCanvas getSplashCanvasRef()	{		return (this.sc);	}	//#sijapp cond.if modules_TRAFFIC is "true" #	// Return a reference to traffic object	public Traffic getTrafficRef()	{		return (this.traffic);	}	//#sijapp cond.end#	public JimmUI getUIRef()	{		return ui;	}	static public void showWorkScreen()	{		if (SplashCanvas.locked())			SplashCanvas.show();		else if (Icq.isConnected())			ContactList.activateList();		else			MainMenu.activateMenu();	}	//#sijapp cond.if target is "MIDP2" #	// Set the minimize state of midlet	static public void setMinimized(boolean mini)	{		if (mini)		{			Jimm.display.setCurrent(null);		} else		{			Displayable disp = Jimm.display.getCurrent();			if (!disp.isShown()) {				if (disp != null)					Jimm.display.setCurrent(null);				showWorkScreen();			}		}	}	//#sijapp cond.end #	/* ************************************************************************* */		/* Auto away stuff */		static public final int AA_MODE_NONE = 0;	static public final int AA_MODE_AWAY = 1;	static public final int AA_MODE_NA = 2;		static private int aaInactivityCounter;	static private int aaMode;		public static void aaUserActivity()	{		synchronized (jimm)		{			aaInactivityCounter = 0;						if (Icq.isConnected() && (aaMode != AA_MODE_NONE))			{				aaMode = AA_MODE_NONE;				try { 					Icq.setOnlineStatus((int)Options.getLong(Options.OPTION_ONLINE_STATUS), Icq.XSTATUS_CURRENT, false);					Icq.setInactiveTime(0x00000000);				} catch (Exception e) {}				ContactList.showStatusInCaption(-1, -1);			}		}	}		public static int aaGetMode()	{		synchronized (jimm)		{			return aaMode;		}	}		public static void aaNextMinute()	{		if ( !Icq.isConnected() || !Options.getBoolean(Options.OPTION_USE_AUTOAWAY)) return;				int time1 = Options.getInt(Options.OPTION_AUTOAWAY_TIME1);		int time2 = Options.getInt(Options.OPTION_AUTOAWAY_TIME2);				synchronized (jimm)		{			aaInactivityCounter++;			switch (aaMode)			{			case AA_MODE_NONE:				int status = (int)Options.getLong(Options.OPTION_ONLINE_STATUS);				if ((aaInactivityCounter >= time1) && 					(status != ContactList.STATUS_AWAY) && 					(status != ContactList.STATUS_NA) &&					(status != ContactList.STATUS_DND) &&					(status != ContactList.STATUS_OCCUPIED) &&					(status != ContactList.STATUS_INVIS_ALL) &&					(status != ContactList.STATUS_INVISIBLE))				{					try {						Icq.setOnlineStatus(ContactList.STATUS_AWAY, Icq.XSTATUS_CURRENT, false);						Icq.setInactiveTime(time1 * 60);					} catch (Exception e) {}					ContactList.showStatusInCaption(ContactList.STATUS_AWAY, -1);					aaMode = AA_MODE_AWAY;				}				break;							case AA_MODE_AWAY:				if (aaInactivityCounter >= time2)				{					try { Icq.setOnlineStatus(ContactList.STATUS_NA, Icq.XSTATUS_CURRENT, false); } catch (Exception e) {}					ContactList.showStatusInCaption(ContactList.STATUS_NA, -1);					aaMode = AA_MODE_NA;				}				break;			}		}	}	/* ************************************************************************** */		public static void setBkltOn(boolean forever)	{//#sijapp cond.if target="MOTOROLA" | target="MIDP2"#		if ( !Options.getBoolean(Options.OPTION_LIGHT_MANUAL) ) return;		Jimm.display.flashBacklight(forever ? Integer.MAX_VALUE : Options.getInt(Options.OPTION_LIGHT_TIMEOUT));		//System.out.println("setBkltOn, ferever="+ferever);//#sijapp cond.end#	}		public static void setBkltOff()	{//#sijapp cond.if target="MOTOROLA" | target="MIDP2"#		if ( !Options.getBoolean(Options.OPTION_LIGHT_MANUAL) ) return;		Jimm.display.flashBacklight(1);		//System.out.println("setBkltOff");//#sijapp cond.end#	}	}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品毛片久久久久久久| 亚洲蜜桃精久久久久久久| 国产成人综合自拍| 日韩午夜激情av| 波多野结衣亚洲| 美日韩一区二区| 一区二区三区中文字幕精品精品| 日韩午夜在线影院| 欧美丝袜第三区| 色综合久久88色综合天天6 | 7777女厕盗摄久久久| 国产精华液一区二区三区| 图片区小说区国产精品视频| 成人欧美一区二区三区1314| 精品va天堂亚洲国产| 欧美美女网站色| 在线观看日韩av先锋影音电影院| www.66久久| 成人伦理片在线| 国产69精品久久久久777| 免费人成黄页网站在线一区二区| 亚洲一区视频在线| 亚洲另类春色国产| 亚洲欧美区自拍先锋| 国产精品国产三级国产三级人妇 | 亚洲一区二区黄色| 亚洲欧洲制服丝袜| 国产精品视频免费| 久久精品夜色噜噜亚洲aⅴ| 日韩精品一区二区三区视频播放 | 国产精品区一区二区三区| 精品对白一区国产伦| 日韩三级电影网址| 日韩欧美在线123| 日韩欧美中文字幕公布| 日韩西西人体444www| 欧美一区午夜精品| 日韩欧美一区二区久久婷婷| 日韩三级高清在线| www精品美女久久久tv| 欧美精品一区二区三区在线 | 国产日韩成人精品| 国产欧美久久久精品影院| 国产欧美精品在线观看| 国产精品网站一区| 日韩一区欧美一区| 亚洲精品视频一区| 亚洲国产精品久久久久秋霞影院 | 欧美主播一区二区三区| 欧美主播一区二区三区| 欧美美女一区二区| 精品国产免费一区二区三区香蕉| 欧美一级精品大片| 久久久影视传媒| 国产午夜精品久久久久久久 | 性欧美大战久久久久久久久| 午夜精品久久久| 九九视频精品免费| 从欧美一区二区三区| 91麻豆高清视频| 欧美高清一级片在线| 精品国产sm最大网站| 中文字幕欧美国产| 亚洲最大成人网4388xx| 免费观看91视频大全| 国产精品主播直播| 91丨九色丨蝌蚪富婆spa| 欧美日韩精品电影| 亚洲精品一区二区三区香蕉| 国产精品国产自产拍高清av | 欧美性感一类影片在线播放| 在线不卡免费av| 久久久精品2019中文字幕之3| 中文字幕在线播放不卡一区| 久久成人久久爱| 高清成人在线观看| 欧美日韩一区成人| 日本一区二区三区dvd视频在线| 中文字幕亚洲电影| 久久激情五月激情| 91网站黄www| 精品欧美久久久| 悠悠色在线精品| 国产一区二区主播在线| 欧美午夜宅男影院| 国产欧美1区2区3区| 亚洲成av人片一区二区梦乃| 国产美女一区二区三区| 欧美三级中文字幕| 国产欧美一区视频| 奇米色777欧美一区二区| av成人免费在线| 日韩精品一区二区三区老鸭窝| 国产视频在线观看一区二区三区| 亚洲一区二区三区国产| 国产91精品一区二区麻豆亚洲| 精品视频在线免费看| 中文字幕国产一区| 精品综合久久久久久8888| 在线日韩国产精品| 中文文精品字幕一区二区| 免费观看成人鲁鲁鲁鲁鲁视频| av在线播放一区二区三区| 精品捆绑美女sm三区| 午夜日韩在线观看| 91亚洲精品久久久蜜桃网站| 久久中文字幕电影| 日韩1区2区日韩1区2区| 一本大道久久a久久精二百 | 亚洲欧美在线视频| 国产在线视视频有精品| 欧美日韩精品一区二区| 亚洲精品你懂的| 91网站最新地址| 国产精品久久看| 成人一级片在线观看| 亚洲精品在线三区| 免费成人在线影院| 欧美日韩视频在线一区二区| 亚洲精品欧美二区三区中文字幕| 成人美女视频在线观看18| 久久久久久久综合日本| 国产真实精品久久二三区| 欧美va日韩va| 精品一区二区三区在线播放| 制服丝袜中文字幕亚洲| 婷婷夜色潮精品综合在线| 欧美日韩一区高清| 一区二区三区精品视频| 色婷婷精品久久二区二区蜜臀av | 一区二区三区日韩欧美精品| 波多野结衣亚洲| 中文字幕在线一区二区三区| 不卡视频一二三| 中文字幕一区二区三区在线不卡| av电影天堂一区二区在线| 综合亚洲深深色噜噜狠狠网站| 成人小视频在线| 中文字幕成人av| 99久久国产综合精品女不卡| 国产精品传媒在线| 91久久人澡人人添人人爽欧美| 亚洲精品综合在线| 欧美在线观看视频在线| 亚洲国产精品一区二区久久| 欧美精品久久一区| 青青草97国产精品免费观看无弹窗版| 欧美一区日本一区韩国一区| 裸体健美xxxx欧美裸体表演| 久久综合久久鬼色中文字| 国产成a人亚洲精| 亚洲欧美自拍偷拍色图| 欧美亚洲动漫制服丝袜| 美女看a上一区| 国产亚洲精品中文字幕| 91欧美一区二区| 日本欧美加勒比视频| 精品成人私密视频| 91丨porny丨蝌蚪视频| 午夜av区久久| 久久女同精品一区二区| 国产欧美一区二区三区网站 | 在线影视一区二区三区| 日本中文字幕一区| 国产亚洲一本大道中文在线| 亚洲男同性视频| 亚洲影视在线播放| 中文字幕一区二区三中文字幕| 欧美电视剧在线观看完整版| 26uuu亚洲综合色| 一二三区精品视频| 欧美综合天天夜夜久久| 麻豆精品在线视频| 国产精品电影院| 欧美精品乱码久久久久久按摩| 国产在线精品一区二区夜色| 亚洲精品综合在线| 欧美r级在线观看| 一本一道波多野结衣一区二区| 美腿丝袜一区二区三区| 国产精品麻豆网站| 欧美一级夜夜爽| 91免费观看国产| 精品无人码麻豆乱码1区2区 | 欧美日韩在线电影| 国产裸体歌舞团一区二区| 亚洲欧美国产77777| 日韩三级伦理片妻子的秘密按摩| 成人黄色777网| 蜜臀av性久久久久av蜜臀妖精| 中文字幕一区二区三区色视频| 欧美一二三在线| 日本韩国欧美三级| 国产91在线|亚洲| 蜜臀av亚洲一区中文字幕| 亚洲色图视频网| 国产欧美综合色| 日韩欧美黄色影院| 欧美三级视频在线观看| 99视频精品免费视频|