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

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

?? midlet.java

?? 有關(guān)j2me的很好的例子可以研究一下
?? JAVA
字號:
/* * @(#)MIDlet.java	1.33 01/05/30 * * Copyright 1998-2000 by Sun Microsystems, Inc., * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. * All rights reserved. * * This software is the confidential and proprietary information * of Sun Microsystems, Inc. ("Confidential Information").  You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Sun. */package javax.microedition.midlet;import com.sun.midp.midlet.MIDletState;/** * A <code>MIDLet</code> is a MID Profile application. * The application must extend this class to allow the * application management software to control the MIDlet and to be * able to retrieve properties from the application descriptor * and notify and request state changes. * The methods of this class allow the application management * software to create, * start, pause, and destroy a MIDlet. * A <code>MIDlet</code> is a set of classes designed to be run and * controlled by the application management software via this interface. * The states allow the application management software to manage * the activities of multiple <CODE>MIDlets</CODE> within * a runtime environment. * It can select which <code>MIDlet</code>s are active at a given time * by starting and pausing them individually. * The application management software maintains the state of the * <code>MIDlet</code> and * invokes methods on the <code>MIDlet</code> to change states.  * The <code>MIDlet</code> * implements these methods to update its internal activities and * resource usage as directed by the application management software. * The <code>MIDlet</code> can initiate some state changes itself * and notifies * the application management software of those state changes * by invoking the appropriate methods.<p> * * <b>Note:</b> The methods on this interface signal state * changes. The state change is not considered complete until the state * change method has returned. It is intended that these methods return * quickly.<p> */public abstract class MIDlet {    /** current state of the MIDlet */    private MIDletProxy state;    /**     * Protected constructor for subclasses.     */    protected MIDlet() {	state = new MIDletProxy(this);    }    /**     * Signals the <code>MIDlet</code> that it has entered the     * <em>Active</em> state.     * In the <em>Active</EM> state the <code>MIDlet</code> may     * hold resources.     * The method will only be called when     * the <code>MIDlet</code> is in the <em>Paused</em> state.     * <p>     * Two kinds of failures can prevent the service from starting,     * transient and non-transient.  For transient failures the     * <code>MIDletStateChangeException</code> exception should be thrown.     * For non-transient failures the <code>notifyDestroyed</code>     * method should be called.     * <p>     * If a Runtime exception occurs during <code>startApp</code> the     * MIDlet will be     * destroyed immediately.  Its <code>destroyApp</code> will be     * called allowing     * the MIDlet to cleanup.     *     * @exception <code>MIDletStateChangeException</code>  is thrown     * if the <code>MIDlet</code>     *		cannot start now but might be able to start at a     *		later time.     */    protected abstract void startApp() throws MIDletStateChangeException;    /**     *     * Signals the <code>MIDlet</code> to stop and enter the     * <em>Paused</em> state.     * In the <em>Paused</em> state the <code>MIDlet</code> must     * release shared     * resources     * and become quiescent. This method will only be called     * called when the <code>MIDlet</code> is in the <em>Active</em>     * state. <p>     * <p>     * If a Runtime exception occurs during <code>pauseApp</code> the     * MIDlet will be     * destroyed immediately.  Its <code>destroyApp</code> will be     * called allowing     * the MIDlet to cleanup.     */    protected abstract void pauseApp();    /**     * Signals the <code>MIDlet</code> to terminate and enter the     * <em>Destroyed</em> state.     * In the destroyed state the <code>MIDlet</code> must release     * all resources and save any persistent state. This method may     * be called from the <em>Paused</em> or     * <em>Active</em> states. <p>     * <code>MIDlet</code>s should     * perform any operations required before being terminated, such as     * releasing resources or saving preferences or     * state. <p>     *     * <b>NOTE:</b> The <code>MIDlet</code> can request that it not     * enter the <em>Destroyed</em>     * state by throwing an <code>MIDletStateChangeException</code>. This     * is only a valid response if the <code>unconditional</code>     * flag is set to <code>false</code>. If it is <code>true</code>     * the <code>MIDlet</code> is assumed to be in the <em>Destroyed</em> state     * regardless of how this method terminates. If it is not an     * unconditional request, the <code>MIDlet</code> can signify     * that it wishes     * to stay in its current state by throwing the      * <code>MIDletStateChangeException</code>.     * This request may be honored and the <code>destroy()</code>     * method called again at a later time.     *     * <p>If a Runtime exception occurs during <code>destroyApp</code> then     * they are ignored and the MIDlet is put into the <em>Destroyed</em> state.     *     * @param unconditional If true when this method is called,     * the <code>MIDlet</code> must cleanup and release all resources.     * If false the <code>MIDlet</code> may throw      * <CODE>MIDletStateChangeException</CODE>     * to indicate it does not want to be destroyed at this time.     *     * @exception <code>MIDletStateChangeException</code> is thrown     * if the <code>MIDlet</code>     *		wishes to continue to execute (Not enter the <em>Destroyed</em>     *          state).     *          This exception is ignored if <code>unconditional</code>     *          is equal to <code>true</code>.     */    protected abstract void destroyApp(boolean unconditional)	throws MIDletStateChangeException;    /**     *     * Used by an <code>MIDlet</code> to notify the application     * management software that it has entered into the     * <em>Destroyed</em> state.  The application management software will not     * call the MIDlet's <code>destroyApp</code> method, and all resources     * held by the <code>MIDlet</code> will be considered eligible     * for reclamation.     * The <code>MIDlet</code> must have performed the same operations     * (clean up, releasing of resources etc.) it would have if the     * <code>MIDlet.destroyApp()</code> had been called.     *     */    public final void notifyDestroyed() {	state.notifyDestroyed();    }    /**     * Notifies the application management software that the MIDlet     * does not want to be active and has     * entered the <em>Paused</em> state.  Invoking this method will     * have no effect if the <code>MIDlet</code> is destroyed, or if it has not     * yet been started. <p>     * It may be invoked by the <code>MIDlet</code> when it is in the     * <em>Active</em> state. <p>     *     * If a <code>MIDlet</code> calls <code>notifyPaused()</code>, in the     * future its <code>startApp()</code> method may be called make     * it active again, or its <code>destroyApp()</code> method may be     * called to request it to destroy itself.     */    public final void notifyPaused() {	state.notifyPaused();    }    /**     * Provides a <code>MIDlet</code> with a mechanism to retrieve named     * properties from the application management software.     * The properties are retrieved from the combination of      * the application descriptor file and the manifest.     * If an attributes in the descriptor has the same name     * as an attribute in the manifest the value from the     * descriptor is used and the value from the manifest     * is ignored.     *     * @param key the name of the property     * @return A string with the value of the property.     * 		<code>null</code> is returned if no value is     *          available for the key.     * @exception <code>NullPointerException</code> is thrown     * if key is <code>null</code>.     */    public final String getAppProperty(String key) {	return state.getMIDletSuite().getProperty(key);    }    /**     * Provides a <code>MIDlet</code> with a mechanism to indicate that it is     * interested in entering the <em>Active</em> state. Calls to     * this method can be used by the application management software     * to determine which     * applications to move to the <em>Active</em> state.     * <p>     * When the application management software decides to activate this       * application it will call the <code>startApp</code> method.     * <p> The application is generally in the <em>Paused</em> state     * when this is     * called.  Even in the paused state the application may handle     * asynchronous events such as timers or callbacks.     */    public final void resumeRequest() {	state.resumeRequest();    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品成人私密视频| 中文字幕一区不卡| 欧美色网站导航| caoporm超碰国产精品| 国产一区二区网址| 国产麻豆精品在线| 国产精品一区在线观看乱码| 狠狠色狠狠色综合日日91app| 韩国三级在线一区| 黄网站免费久久| 高清不卡一区二区在线| 处破女av一区二区| 99久久99久久免费精品蜜臀| 91在线国产观看| 欧美日韩一区二区电影| 91精品国产91热久久久做人人| 日韩亚洲欧美成人一区| 精品999在线播放| 国产亚洲1区2区3区| 国产精品久久久久久久久快鸭 | 51精品久久久久久久蜜臀| 欧美日韩国产电影| 欧美一级电影网站| 国产亚洲视频系列| 亚洲精品国产品国语在线app| 天堂蜜桃91精品| 国产美女精品在线| 欧美在线观看视频在线| 欧美一级日韩不卡播放免费| 日本一区二区三区在线观看| 一区二区三区四区乱视频| 日日噜噜夜夜狠狠视频欧美人| 欧美一区二区人人喊爽| 亚洲午夜影视影院在线观看| 26uuu欧美| 中文字幕欧美日本乱码一线二线| 26uuu国产一区二区三区| 中国av一区二区三区| 亚洲已满18点击进入久久| 久草这里只有精品视频| 不卡影院免费观看| 这里只有精品视频在线观看| 国产清纯在线一区二区www| 亚洲精品自拍动漫在线| 狠狠久久亚洲欧美| 在线欧美日韩精品| 久久久久久久久免费| 亚洲国产精品久久人人爱| 国产电影一区在线| 欧美视频一二三区| 中文字幕不卡三区| 九色porny丨国产精品| 色婷婷综合久久久中文字幕| 国产三级精品在线| 日韩国产欧美在线视频| 99视频在线观看一区三区| 日韩欧美成人一区| 亚洲高清视频的网址| 99热在这里有精品免费| 欧美成人女星排行榜| 亚洲一区二区综合| 99久久综合色| 久久女同性恋中文字幕| 日韩av电影免费观看高清完整版| 99久久精品免费看| 中文字幕欧美日韩一区| 国产尤物一区二区| 精品蜜桃在线看| 美女视频第一区二区三区免费观看网站 | 一个色妞综合视频在线观看| 国产在线精品视频| 精品久久99ma| 日韩av中文字幕一区二区| 欧美亚洲一区二区在线观看| 亚洲视频电影在线| 99这里只有久久精品视频| 日本一区二区在线不卡| 国产成人精品网址| 国产欧美日韩另类视频免费观看| 国产综合色精品一区二区三区| 欧美疯狂做受xxxx富婆| 亚洲大型综合色站| 欧美日韩国产成人在线免费| 亚洲第一狼人社区| 欧美精品第1页| 日本美女视频一区二区| 日韩欧美电影在线| 国产真实乱偷精品视频免| 久久久久久久网| 丁香五精品蜜臀久久久久99网站| 国产精品三级在线观看| 成人av动漫在线| 一区二区免费视频| 欧美精品黑人性xxxx| 久久精品国产亚洲一区二区三区 | 精品毛片乱码1区2区3区| 青青草国产成人99久久| 久久亚洲综合色一区二区三区 | 国产精品传媒入口麻豆| 91女神在线视频| 日日摸夜夜添夜夜添亚洲女人| 亚洲第一搞黄网站| 视频一区二区中文字幕| 99久久精品情趣| 1区2区3区国产精品| 欧美亚洲自拍偷拍| 美女爽到高潮91| 国产精品国产自产拍在线| 色综合一区二区三区| 日韩精品成人一区二区三区| 精品国产髙清在线看国产毛片| 国产91精品在线观看| 亚洲狠狠爱一区二区三区| 日韩欧美一卡二卡| 不卡电影一区二区三区| 亚洲一区二区在线免费观看视频| 欧美成人福利视频| 91啪亚洲精品| 国产一区三区三区| 亚洲综合成人网| 国产人成一区二区三区影院| 欧美影视一区二区三区| 国产在线一区二区| 天堂av在线一区| 欧美三级韩国三级日本三斤| 亚洲欧美激情一区二区| 欧美精品一二三区| 丁香婷婷综合色啪| 蜜桃传媒麻豆第一区在线观看| 国产精品乱码人人做人人爱 | 免费观看久久久4p| 亚洲另类在线制服丝袜| 久久老女人爱爱| 欧美性大战久久久久久久| 国产一区二区伦理| 日韩精品电影一区亚洲| 亚洲卡通欧美制服中文| 欧美高清在线视频| 欧美精品一区二区不卡| 欧美乱熟臀69xxxxxx| 91国在线观看| 99精品国产一区二区三区不卡| 国产一区二区调教| 久久电影网站中文字幕| 视频一区二区欧美| 亚洲国产精品久久久久婷婷884 | 亚洲欧洲日本在线| 日韩一级黄色大片| 欧美日韩欧美一区二区| 色琪琪一区二区三区亚洲区| 不卡视频免费播放| 高清不卡一区二区| 国产iv一区二区三区| 国内一区二区在线| 青青草精品视频| 奇米一区二区三区av| 麻豆91精品91久久久的内涵| 喷白浆一区二区| 日本不卡的三区四区五区| 日韩不卡一区二区| 免费国产亚洲视频| 狠狠色丁香婷婷综合| 国产一区二区精品久久99| 国产一区二区精品久久91| 国产精品亚洲午夜一区二区三区| 国产一区中文字幕| 成人一区二区三区视频在线观看| 成人ar影院免费观看视频| 成人午夜av电影| 精品在线播放午夜| 欧美日本一道本在线视频| 国产精品天天摸av网| 国产精品伦理在线| 亚洲男人的天堂在线观看| 亚洲影院在线观看| 奇米综合一区二区三区精品视频| 免费看欧美女人艹b| 国产传媒久久文化传媒| 不卡的看片网站| 欧美在线看片a免费观看| 欧美一区二区在线不卡| 久久婷婷色综合| 中文字幕佐山爱一区二区免费| 一级做a爱片久久| 男女视频一区二区| 丁香激情综合五月| 在线观看视频91| 久久色视频免费观看| 一区二区三区在线视频观看| 日韩精品五月天| 成人一区二区三区中文字幕| 欧美挠脚心视频网站| 国产色一区二区| 午夜精品123| 成人福利视频在线| 欧美一区二区三区色| 欧美精品一区二区高清在线观看| 久久精品99久久久| 欧美日韩国产小视频在线观看| 91官网在线观看|