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

📄 pimdemo.java

📁 基于手机的通信录、文件、图片读写开发,j2me开发架构
💻 JAVA
字号:
/* * @(#)PIMDemo.java	1.3 04/03/22 * * Copyright (c) 2000-2004 Sun Microsystems, Inc. All rights reserved. * PROPRIETARY/CONFIDENTIAL * Use is subject to license terms */package PDAPDemo.src.example.pim;import javax.microedition.lcdui.Alert;import javax.microedition.lcdui.AlertType;import javax.microedition.lcdui.Display;import javax.microedition.lcdui.Displayable;import javax.microedition.midlet.MIDlet;import javax.microedition.pim.PIM;/** * Demonstrate the use of JSR 75 PIM APIs */public class PIMDemo extends MIDlet {    public void startApp() {        Display.getDisplay(this).setCurrent(new ListTypeSelectionScreen(this));    }    protected void destroyApp(boolean param) { }    protected void pauseApp() { }    void exit() {        destroyApp(false);        notifyDestroyed();    }    void reportException(Exception e, Displayable d) {        Alert alert = new Alert("Error", e.getMessage(), null, AlertType.ERROR);        alert.setTimeout(Alert.FOREVER);        Display.getDisplay(this).setCurrent(alert, d);        e.printStackTrace();    }}

⌨️ 快捷键说明

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