在一間別緻的房間留了一會, install 了自己還沒update 的software 對人講人話, 對鬼講鬼話, 那…….對著電腦……應該係講…..”電話” backward compatible , raw , three-tier 食飯, 估人物. 看了康樂棋, 看到很”絕”的招 fyp …. 有點迷失了… 應從邊度入手做整合好呢 ….. 點做simluation ….. 冇力….. icq memory error……msn 7.5 連唔到線…… msn 8 beta 就連到… http://www.msn.co.uk/messengerbeta/Default.asp?MSPSA=1 一切有為法,如夢幻泡影,如露亦如電
1. getStringTime in Calendar
1 2 3 4 5 6 7 8 |
public String getStringTime() { Calendar calendar = Calendar.getInstance(); Date date = new Date(); calendar.setTime(date); return calendar.get(Calendar.HOUR_OF_DAY)+":" +calendar.get(Calendar.MINUTE)+":" +calendar.get(Calendar.MILLISECOND); } |
2.debug
1 2 3 4 |
//No need to type many System.out.println... public void debug(String str){ System.out.println("debug: " + str); } |
Opening the phonebook with Java The Sony Ericsson Z1010, K700 and Z500 mobile phones are all JTWI compliant, which for example means that it is possible to let the user choose a contact from the phone’s phonebook using a Java MIDlet……………….. http://www.java-tips.org/java-me-tips/midp/ Tips for MIDP