<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[HelloWorld]用Eclips开发的第一的javaMIDP程序]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 25 Sep 2006 05:37:18 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	code:<br/>HelloWorld.java<br/><br/><br/><br/><br/><br/>import javax.microedition.lcdui.*;<br/><br/>import javax.microedition.midlet.*;<br/><br/><br/>public class HelloWorld extends MIDlet implements CommandListener &#123;<br/><br/>&nbsp;&nbsp;private Command exitCommand;<br/><br/>&nbsp;&nbsp;private TextBox tb;<br/><br/>&nbsp;&nbsp;public HelloWorld() &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;exitCommand = new Command("Exit", Command.EXIT, 1);<br/>&nbsp;&nbsp;&nbsp;&nbsp;tb = new TextBox("Hello 向东", "Hello,World!", 15, 0);<br/>&nbsp;&nbsp;&nbsp;&nbsp;tb.addCommand(exitCommand);<br/>&nbsp;&nbsp;&nbsp;&nbsp;tb.setCommandListener(this);<br/>&nbsp;&nbsp;&nbsp;&nbsp;<br/>&nbsp;&nbsp;&#125;<br/><br/><br/>&nbsp;&nbsp;protected void startApp() throws MIDletStateChangeException &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;Display.getDisplay(this).setCurrent(tb);<br/>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("startApp");<br/><br/>&nbsp;&nbsp;&#125;<br/><br/>&nbsp;&nbsp;protected void pauseApp() &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("pauseApp");<br/><br/>&nbsp;&nbsp;&#125;<br/><br/>&nbsp;&nbsp;protected void destroyApp(boolean arg0) throws MIDletStateChangeException &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("destroyApp");<br/><br/>&nbsp;&nbsp;&#125;<br/><br/><br/>&nbsp;&nbsp;public void commandAction(Command c, Displayable d) &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;if (c == exitCommand) &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;destroyApp(false);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125; catch (MIDletStateChangeException exception) &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("MIDletStateChangeException");<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;notifyDestroyed();<br/>&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br/><br/>&nbsp;&nbsp;&#125;<br/><br/>&#125;
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [HelloWorld]用Eclips开发的第一的javaMIDP程序]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>