<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>椰子Java</title> 
<link>http:///index.php</link> 
<description>       我从事软件行业已经9年啦，2001毕业以后一直在成都从事软件开发工作，从事过电信行业相关软件开发和航空行业相关软件开发工作，2007回到了海南，回到了我的故乡。                                                                                                                                我经历了喜欢--狂热--疲倦--坚持--深爱上我的行业，因为它最体现我的价值。我对它了解越深就越能感觉到它的奇妙性，我可以在它虚拟出来的世界里任意翱翔。。。</description> 
<language>zh-cn</language> 
<copyright>Powered by Bo-blog 2.0.2 sp1</copyright>
<item>
<link>http:///read.php?1102</link>
<title>标准J2ME菜单</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Thu, 06 May 2010 00:13:02 +0000</pubDate> 
<guid>http:///read.php?1102</guid> 
<description>
<![CDATA[ 
	这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a>
  ]]> 
</description>
</item><item>
<link>http:///read.php?1064</link>
<title>滚球游戏</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Tue, 12 Jan 2010 00:39:18 +0000</pubDate> 
<guid>http:///read.php?1064</guid> 
<description>
<![CDATA[ 
	<a href="http:///attachment/201001/1263343188_0.gif" target="_blank"><img src="http:///attachment/201001/1263343188_0.gif" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a>
  ]]> 
</description>
</item><item>
<link>http:///read.php?1063</link>
<title>J2ME屏幕画线</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Mon, 11 Jan 2010 00:37:16 +0000</pubDate> 
<guid>http:///read.php?1063</guid> 
<description>
<![CDATA[ 
	这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a>
  ]]> 
</description>
</item><item>
<link>http:///read.php?1066</link>
<title>图形排列游戏</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Thu, 07 Jan 2010 00:49:11 +0000</pubDate> 
<guid>http:///read.php?1066</guid> 
<description>
<![CDATA[ 
	<a href="http:///attachment/201001/1263343784_0.gif" target="_blank"><img src="http:///attachment/201001/1263343784_0.gif" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a>
  ]]> 
</description>
</item><item>
<link>http:///read.php?1065</link>
<title>在屏幕上查找英文词汇</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Tue, 05 Jan 2010 00:42:27 +0000</pubDate> 
<guid>http:///read.php?1065</guid> 
<description>
<![CDATA[ 
	<a href="http:///attachment/201001/1263343426_0.jpg" target="_blank"><img src="http:///attachment/201001/1263343426_0.jpg" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a>
  ]]> 
</description>
</item><item>
<link>http:///read.php?1029</link>
<title>J2ME下实现XML解析</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Fri, 07 Aug 2009 15:49:04 +0000</pubDate> 
<guid>http:///read.php?1029</guid> 
<description>
<![CDATA[ 
	这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a><br/>Tags - <a href="http:///tag.php?tag=j2me" rel="tag">j2me</a>
  ]]> 
</description>
</item><item>
<link>http:///read.php?894</link>
<title>一个简单的J2me登陆窗口</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Fri, 26 Sep 2008 05:25:45 +0000</pubDate> 
<guid>http:///read.php?894</guid> 
<description>
<![CDATA[ 
	/*<br/> * A free J2ME sample program to demonstrate<br/> * a SIMPLE LOGIN SCREEN TO LOGIN TO A HTTP SERVER <br/> * FROM A J2ME phone<br/> *<br/> * @author William Alexander<br/> * free for use as long as this comment is included in<br/> * in the program as it is<br/> * More Free Java programs available for download <br/> * at http://www.java-samples.com<br/> *<br/> */<br/>import javax.microedition.lcdui.*;<br/>import javax.microedition.midlet.*; &nbsp;<br/>import java.io.*;<br/>import java.lang.*;<br/>import javax.microedition.io.*;<br/>import javax.microedition.rms.*;<br/> <br/>public class Login extends MIDlet implements CommandListener {<br/> &nbsp; &nbsp;<br/>&nbsp;&nbsp;TextField UserName=null;<br/>&nbsp;&nbsp;TextField Location=null;<br/>&nbsp;&nbsp;Form authForm,mainscreen;<br/>&nbsp;&nbsp;TextBox t = null;<br/>&nbsp;&nbsp;StringBuffer b = new StringBuffer();<br/> &nbsp; &nbsp;private Display myDisplay = null;<br/> &nbsp; &nbsp;private Command okCommand = new Command("OK", Command.OK, 1);<br/> &nbsp; &nbsp;private Command exitCommand = new Command("Exit", Command.EXIT, 2);<br/> &nbsp; &nbsp;private Command backCommand = new Command("Back", Command.BACK, 2);<br/> &nbsp; &nbsp;private Alert alert = null;<br/><br/> &nbsp; &nbsp;public Login() { &nbsp; &nbsp; &nbsp; &nbsp;<br/><br/> &nbsp; &nbsp; &nbsp; &nbsp;myDisplay = Display.getDisplay(this);<br/><br/>&nbsp;&nbsp;UserName=new TextField("Your Name","",10,TextField.ANY);<br/>&nbsp;&nbsp;Location=new TextField("Location","",10,TextField.ANY);<br/>&nbsp;&nbsp;authForm=new Form("Identification");<br/>&nbsp;&nbsp;mainscreen=new Form("Logging IN");<br/>&nbsp;&nbsp;mainscreen.append("Logging in....");<br/>&nbsp;&nbsp;mainscreen.addCommand(backCommand);<br/>&nbsp;&nbsp;authForm.append(UserName);<br/>&nbsp;&nbsp;authForm.append(Location);<br/>&nbsp;&nbsp;authForm.addCommand(okCommand);<br/>&nbsp;&nbsp;authForm.addCommand(exitCommand);<br/>&nbsp;&nbsp;authForm.setCommandListener(this);<br/>&nbsp;&nbsp;myDisplay.setCurrent(authForm);<br/><br/> &nbsp; &nbsp;}<br/><br/> &nbsp; &nbsp;public void startApp() throws MIDletStateChangeException { <br/> &nbsp; &nbsp;}<br/><br/> &nbsp; &nbsp;public void pauseApp() {<br/> &nbsp; &nbsp;}<br/><br/><br/> &nbsp;<br/> &nbsp; &nbsp;protected void destroyApp(boolean unconditional)<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;throws MIDletStateChangeException {<br/> &nbsp; &nbsp;}<br/><br/> &nbsp;<br/> &nbsp; &nbsp;public void commandAction(Command c, Displayable d) {<br/> &nbsp; &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp;if ((c == okCommand) && (d == authForm)) {<br/>&nbsp;&nbsp;if (UserName.getString().equals("") &#124;&#124; Location.getString().equals("")){<br/>&nbsp;&nbsp;&nbsp;&nbsp;alert = new Alert("Error", "You should enter Username and Location", null, AlertType.ERROR);<br/>&nbsp;&nbsp;&nbsp;&nbsp;alert.setTimeout(Alert.FOREVER);<br/>&nbsp;&nbsp;&nbsp;&nbsp;myDisplay.setCurrent(alert);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;else{<br/>&nbsp;&nbsp;//myDisplay.setCurrent(mainscreen);<br/>&nbsp;&nbsp;login(UserName.getString(),Location.getString());<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;}<br/> &nbsp; &nbsp; &nbsp; &nbsp;if ((c == backCommand) && (d == mainscreen)) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;myDisplay.setCurrent(authForm);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;if ((c == exitCommand) && (d == authForm)) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;notifyDestroyed();<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;}<br/> &nbsp; &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp;public void login(String UserName,String PassWord) {<br/>&nbsp;&nbsp;HttpConnection connection=null;<br/>&nbsp;&nbsp;DataInputStream in=null;<br/>&nbsp;&nbsp;String url="http://www.cujava.com/";<br/><br/>&nbsp;&nbsp;OutputStream out=null;&nbsp;&nbsp;<br/>&nbsp;&nbsp;try<br/>&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection=(HttpConnection)Connector.open(url);<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestMethod(HttpConnection.POST);<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestProperty("IF-Modified-Since", "2 Oct 2002 15:10:15 GMT");<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestProperty("User-Agent","Profile/MIDP-1.0 Configuration/CLDC-1.0");<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestProperty("Content-Language", "en-CA");<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestProperty("Content-Length",""+ (UserName.length()+PassWord.length()));<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestProperty("UserName",UserName);<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.setRequestProperty("PassWord",PassWord);<br/>&nbsp;&nbsp;out = connection.openDataOutputStream();<br/>&nbsp;&nbsp;out.flush();<br/>&nbsp;&nbsp;in = connection.openDataInputStream();<br/>&nbsp;&nbsp;int ch;<br/>&nbsp;&nbsp;while((ch = in.read()) != -1) {<br/>&nbsp;&nbsp;&nbsp;&nbsp;b.append((char) ch);<br/>&nbsp;&nbsp;&nbsp;&nbsp;//System.out.println((char)ch);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;//t = new TextBox("Reply",b.toString(),1024,0);<br/>&nbsp;&nbsp;mainscreen.append(b.toString());<br/>&nbsp;&nbsp;if(in!=null)<br/>&nbsp;&nbsp;&nbsp;&nbsp;in.close();<br/>&nbsp;&nbsp;if(out!=null)<br/>&nbsp;&nbsp;&nbsp;&nbsp;out.close();<br/>&nbsp;&nbsp;if(connection!=null)<br/>&nbsp;&nbsp;&nbsp;&nbsp;connection.close();<br/>&nbsp;&nbsp;} <br/>&nbsp;&nbsp;catch(IOException x){}<br/>&nbsp;&nbsp;myDisplay.setCurrent(mainscreen);<br/> &nbsp; &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp;}<br/>} <br/> <br/>
  ]]> 
</description>
</item><item>
<link>http:///read.php?830</link>
<title>J2ME基础练习代码</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Mon, 16 Jun 2008 02:28:15 +0000</pubDate> 
<guid>http:///read.php?830</guid> 
<description>
<![CDATA[ 
	<br/>这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a><br/><br/> &nbsp; &nbsp;实现对文本显示的代码，虽然简单，但却非常实用。
  ]]> 
</description>
</item><item>
<link>http:///read.php?574</link>
<title>我可爱的Nokia5300丢了</title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Mon, 20 Aug 2007 07:12:07 +0000</pubDate> 
<guid>http:///read.php?574</guid> 
<description>
<![CDATA[ 
	案件描述：今天中午，我最喜欢的一款手机：5300离我而去了，就在我从汽车后坐换到前坐的一杀那！我现在心情很差。<br/><br/> &nbsp; &nbsp; 我喜欢5300是因为我在它上面开发了我第一个java手机游戏和软件。我太伤心了。
  ]]> 
</description>
</item><item>
<link>http:///read.php?481</link>
<title>J2me游戏控制基础(测试环境：Nokia 5300 Series 40) </title> 
<author>fubin &lt;yonghe169@163.com&gt;</author>
<category>NOKIA &nbsp;J2ME开发</category>
<pubDate>Sun, 10 Jun 2007 15:21:16 +0000</pubDate> 
<guid>http:///read.php?481</guid> 
<description>
<![CDATA[ 
	控制一个小鸡过马路，过了以后从新开始。<br/><br/>这是J2me GameCanvas的基础功能。同时还演示图片在一定速度下想一个方向前进。<br/><br/>这个文件只能在登入之后下载。请先 <a href="login.php?job=register">注册</a> 或 <a href="login.php">登入</a><br/><br/> 
  ]]> 
</description>
</item>
</channel>
</rss>