Nokia UI学习范例FishTank研究[4]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

    public FishTankMIDlet()
    {
        canvas = new FishTankCanvas(this);
    }

    public void startApp()
    {
        Display.getDisplay(this).setCurrent(canvas);
        canvas.start();
    }

    public void pauseApp()
    {
        canvas.stop();
    }

    public void destroyApp(boolean unconditional)
    {
        canvas.stop();
    }

    /*
     * On the exit command, cleanup and notify that the MIDlet has been
     * destroyed.
     */
    void exitRequested()
    {
        destroyApp(false);
        notifyDestroyed();
    }
}

本文关键:Nokia UI学习范例FishTank研究
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top