锘??xml version="1.0" encoding="utf-8" standalone="yes"?> 閮戞榾@ultrapower 浜у搧鍚嶇О 浜у搧鐗堟湰 Keyword: Mobile RSS Bloglines BloglinesMobileBuddy 1.0.12 [J2ME] BloglinesMobileBuddy (Bloglines鎵嬫満浼翠荊) 寮婧愯鏄?/SPAN> 鎴戠殑璧勬簮錛?/SPAN>铏界劧榪樻湁榪欐牱閭f牱鐨勯棶棰橈紝浣嗘槸浣滀負涓涓?/SPAN>Alpha鐗堟湰鐨?/SPAN>j2me杞歡錛岃兘澶熷湪Nokia S60緋誨垪鎵嬫満涓婅繍琛岋紝榪欐牱宸茬粡瓚沖浜嗭紝鎵浠ュ厛鏀懼嚭婧愪唬鐮侊紝甯屾湜鎶涚爾寮曠帀鍚稿紩鏈夊織鑰呯戶緇湪姝ゅ熀紜涓婁慨鏀廣?/SPAN> http://www.cnblogs.com/Files/zhengyun_ustc/flickrBuddy.rar 鏈嶅姟鍣ㄧ鐨?/SPAN>web service宸茬粡鑳藉鍙戝竷alpha鐗堟湰浜嗭紝璇峰湪涓嬭澆銆傝繖鏄竴涓?/SPAN>tomcat+axis鎼緩鐜涓嬬殑java web service銆?/SPAN> 鎻愯娉ㄦ剰鐨勬槸錛岀敱浜庢湰婧愪唬鐮佷腑鍖呭惈浜?/SPAN>bluegammon/jmobilecore/henson.midp.Float/Zohar Melamed鈥檚 Jbloglines絳夊紑鏀炬簮浠g爜搴擄紝鎵浠ユ垜涔熼伒寰?/SPAN>GPL鍗忚錛岃鐪嬪悗闈㈢殑鈥滃紑婧愮増鏉冨0鏄庘濄?/SPAN> http://www.cnblogs.com/Files/zhengyun_ustc/BloglinesMobile-deployed.rar Nokia S60緋誨垪瀹夎紼嬪簭錛岀敤鏁版嵁綰夸紶BloglinesMobile.jar鍒版偍鐨勬墜鏈轟笂鍗沖彲瀹夎銆?/SPAN> 嫻嬭瘯浣撻獙 鎴戝湪Nokia 7610涓婃祴璇曡繃浜嗭紝鏁翠綋瑙嗚鏁堟灉榪樻槸涓嶉敊鐨勶紝鑰屼笖鐧誨綍鍜岄槄璇婚熷害榪樻槸铔揩鐨勩傛槰鏅氫笂錛屽湪鎵嬫満涓婄珶鐒惰笍韙忓疄瀹炴妸鎸夋懇涔崇殑銆?/SPAN>璁╁皬寮虹湡姝f潵涓嬈″巻闄?/SPAN>銆嬪拰銆?/SPAN>姝i潰鏂伴椈銆嬪叡璁′竷鍗冧竷鐧句綑瀛楃殑緗戝織鐪嬪畬浜嗭紝鍛靛懙錛屼笉寰椾笉浣╂湇Nokia7610鐨勫唴瀛樺澶х殑錛岀珶鐒惰繕鑳藉嫻佺晠鍦版樉紺恒?/SPAN> 涓轟粈涔堣涓?/SPAN>Bloglines鍒朵綔鏃犵嚎闃呰杞歡鍛紵 鍦?/SPAN>2005騫?/SPAN>10鏈堬紝Web 2.0 Conference鏈鍚庝竴澶╃殑浼氳涓婏紝Ask Jeeves鐨勪竴浣嶅壇钁d簨闀垮叕甯冧簡鏃椾笅Bloglines緗戠珯鐨勪竴浜?/SPAN>鏈鏂版暟鎹?/SPAN>(PPT鏍煎紡)錛岃繖浜涙暟鎹篃鍙互浠庡彟涓涓柟闈綋鐜板嚭鐩墠RSS鐨勪嬌鐢ㄧ姸鍐點?/SPAN> - 鏈夎秴榪?/SPAN>135涓囨潯Feed鑷沖皯鏈変竴涓闃呰呫?/SPAN> - 14,363鏉?/SPAN>Feed鐨勮闃呰呰秴榪?/SPAN>50浜恒?/SPAN> - 437鏉?/SPAN>Feed鐨勮闃呰呭湪1000浜轟互涓娿?/SPAN> - 60鏉?/SPAN>Feed鏈?/SPAN>5000浜轟互涓婅闃呫?/SPAN> - Slashdot鏄敮涓璁㈤槄鑰呰秴榪?/SPAN>50000浜虹殑Feed銆?/SPAN> Bloglines鏄洰鍓嶄嬌鐢ㄦ渶涓哄箍娉涚殑鍦ㄧ嚎RSS闃呰鏈嶅姟涔嬩竴錛岃繖涔堝鐨勮闃呰咃紝浠栦滑涔熻闇瑕佸湪鏃犵嚎鏉′歡涓嬮槄璇?/SPAN>Bloglines鎻愪緵鐨勬湇鍔★紝鎵浠ユ垜鍒朵綔浜嗚繖嬈炬墜鏈虹▼搴忋?/SPAN> Bloglines 鏄粈涔?/SPAN> Bloglines 鏄竴涓叏鐞冩渶鎶㈢溂鐨勫熀浜?/SPAN>Web鐨?/SPAN>blog璁㈤槄璺熻釜鏈嶅姟涔嬩竴錛屽畠鍏佽涓漢瀵?/SPAN> weblog 鍜屾柊闂葷殑鍚勭璁㈤槄淇濇寔璺熻釜錛岃繖浜涜闃呭唴瀹逛互 Really Simple Syndication錛?/SPAN>RSS錛夊拰 Atom 鎻愪緵鐨勫艦寮忎氦浠樸?/SPAN> 鎴戞瘡澶╃涓浠朵簨鎯呭氨鏄墦寮bloglines錛岀湅鐪嬫垜璁㈤槄鐨?/SPAN>21涓祫鏂欏簱鏈夋病鏈夋洿鏂頒粬浠殑blog銆?/SPAN>21涓祫鏂欏簱錛屾槸涓嶆槸灝戜簡鐐癸紵鎴戜篃鏇劇粡鐪嬭繃鍏朵粬浜烘湁榪囨垚鍗冧笂涓囦釜璧勬枡搴擄紝涓嶈繃錛屾垜鎰熻鍏朵腑80%鐨?/SPAN>blog鍏跺疄涓嶅煎緱閫愭棩璺熻釜銆?/SPAN> 鐢變簬鎴戣繖涓増鏈殑 Bloglines Mobile Buddy鎵嬫満浼翠荊 涔熸槸鍩轟簬bluegammon/jmobilecore/henson.midp.Float/Zohar Melamed鈥檚 Jbloglines絳?/SPAN>鍩虹涓婂姞鍏ユ垜鐨勬櫤鎱ф暣鍚堣屾潵鐨勶紝鎵浠ュ喅瀹氶伒鐓?/SPAN>GPL鍗忚鐨勫ぇ鎰忓紑鏀炬簮浠g爜錛屾偍鍙互鑷敱浼犳挱鍜屼慨鏀癸紝鍦ㄩ伒鐓т笅闈㈢殑綰︽潫鏉′歡鐨勫墠鎻愪笅錛?/SPAN> 鏉′歡1 鍙浣犲湪Bloglines Mobile Buddy鐨?/SPAN>姣忎竴鍓湰涓婃槑鏄懼拰鎭板綋鍦板嚭鐗堢増鏉冨0鏄庯紝淇濇寔姝よ鍙瘉鐨勫0鏄庡拰娌℃湁鎷呬繚鐨勫0鏄庡畬鏁存棤鎹燂紝騫跺拰紼嬪簭涓璧風粰姣忎釜鍏朵粬鐨勭▼搴忔帴鍙楄呬竴浠借鍙瘉鐨勫壇鏈紝浣犲氨鍙互鐢ㄤ換浣曞獟浣撳鍒跺拰鍙戝竷浣犳敹鍒扮殑鍘熷鐨勭▼搴忕殑婧愪唬鐮併備綘鍙互涓鴻漿璁╁壇鏈殑瀹為檯琛屽姩鏀跺彇涓瀹氳垂鐢紝浣嗗繀欏諱簨鍏堝緱鍒伴儜鏄鐨勫悓鎰忋?/SPAN> 鏉′歡2 浣犲彲浠ヤ慨鏀?/SPAN>Bloglines Mobile Buddy紼嬪簭鐨勪竴涓垨鍑犱釜鍓湰鎴栫▼搴忕殑浠諱綍閮ㄥ垎錛屼互姝ゅ艦鎴愬熀浜庣▼搴忕殑浣滃搧銆傚彧瑕佷綘鍚屾椂婊¤凍涓嬮潰鐨勬墍鏈夋潯浠訛紝浣犲氨鍙互鎸夊墠闈㈢涓嬈劇殑瑕佹眰澶嶅埗鍜屽彂甯冭繖涓緇忚繃淇敼鐨勭▼搴忔垨浣滃搧銆?/SPAN> a錛?/SPAN> 浣犲繀欏誨湪淇敼鐨勬枃浠朵腑闄勬湁鏄庣‘鐨勮鏄庯細浣犱慨鏀逛簡榪欎竴鏂囦歡鍙婂叿浣撶殑淇敼鏃ユ湡銆?/SPAN> b錛?/SPAN> 浣犲繀欏諱嬌浣犲彂甯冩垨鍑虹増鐨勪綔鍝侊紙瀹冨寘鍚▼搴忕殑鍏ㄩ儴鎴栦竴閮ㄥ垎錛屾垨鍖呭惈鐢辯▼搴忕殑鍏ㄩ儴鎴栭儴鍒嗚鐢熺殑浣滃搧錛夊厑璁哥涓夋柟浣滀負鏁翠綋鎸夎鍙瘉鏉℃鍏嶈垂浣跨敤銆?/SPAN> c錛?/SPAN> 濡傛灉淇敼鐨勭▼搴忓湪榪愯鏃朵互浜や簰鏂瑰紡璇誨彇鍛戒護錛屼綘蹇呴』浣垮畠鍦ㄥ紑濮嬭繘鍏ュ父瑙勭殑浜や簰浣跨敤鏂瑰紡鏃舵墦鍗版垨鏄劇ず澹版槑錛氬寘鎷傚綋鐨勭増鏉冨0鏄庡拰娌℃湁鎷呬繚鐨勫0鏄庯紙鎴栬呬綘鎻愪緵鎷呬繚鐨勫0鏄庯級錛涚敤鎴峰彲浠ユ寜姝よ鍙瘉鏉℃閲嶆柊鍙戝竷紼嬪簭鐨勮鏄庯紱騫跺憡璇夌敤鎴峰浣曠湅鍒拌繖涓璁稿彲璇佺殑鍓湰銆傦紙渚嬪鐨勬儏鍐碉細濡傛灉鍘熷紼嬪簭浠ヤ氦浜掓柟寮忓伐浣滐紝瀹冨茍涓嶆墦鍗拌繖鏍風殑澹版槑錛屼綘鐨勫熀浜庣▼搴忕殑浣滃搧涔熷氨涓嶇敤鎵撳嵃澹版槑錛夈?/SPAN> 榪欐牱錛屾偍灝卞彲浠ヨ嚜鐢變嬌鐢ㄥ茍浼犳挱鏈簮浠g爜錛屽綋鐒惰鎮ㄥ師灝佷笉鍔ㄥ湴淇濈暀鍘熶綔鑰呬俊鎭?/SPAN> 緙栧啓鑰?/SPAN> 鏃ユ湡 鍏抽敭璇?/SPAN> 閮戞榾@ultrapower 2005-12-27 Mobile RSS READER ONLINE BLOGLINES Java J2ME 璇風湅錛?BR>銆奡eries 60 Developer Platform 2.0: Specification v1.0銆嬶紝 /** /** /** /** /** /** 錛籌綇锝嗭綌锝嬶絽锝欙綋騫舵病鏈夎鍖呭惈鍦輯錛╋激錛幫紥錛庯紣鐨勮鑼冧腑錛屾墍浠ワ紝 浠ヤ笅瀵規嫧鎵撶數璇濈殑鎵嬫満鎸夐敭鐨勫畾涔夋槸鍦╪okia銆佷笁鏄熷拰Motorola錛坴80/220/300/400/500/600, e398, c650錛夛細
/** 浠ヤ笅榪欑瀹氫箟鏄湪瑗塊棬瀛愶細
/** 浠ヤ笅榪欑瀹氫箟鏄湪Motorola platform phones iDEN, T280, T72x, v6x
/** 2005騫?2鏈?5鏃ユ櫄涓婏細 絎竴姝ワ紝杈撳叆浣犵殑bloglines鐧誨綍鐢靛瓙閭歡鍦板潃錛?/P>
鐒跺悗杈撳叆浣犵殑鐧誨綍瀵嗙爜錛?/P>
鐒跺悗鎵嬫満灝嗗幓bloglines绔欑偣媯绱綘鎵璁㈤槄鐨刡log婧愶紝騫跺皢鏍囬鍜屾湭璇籦log鏉$洰鏁版樉紺哄湪鐣岄潰涓婏紝濡備笅鎵紺猴細 鐐瑰嚮鍏朵腑涓涓猙log鏍囬錛屼綘鍙互鐪嬪埌璇log鐨勪綘灝氭湭璇昏繃鐨刡log鏂囩珷闆嗗悎錛屽涓嬫墍紺猴細 涓庝箣瀵圭収鐨刡log鏂囩珷濡備笅鎵紺猴細 鏇村鍥劇墖錛?BR> 2005騫?2鏈?5鏃? 瀹冩槸鍒╃敤浜?A >http://www.bloglines.com/myblogs榪欎釜涓栫晫涓婃渶澶х殑blog璁㈤槄婧愭湇鍔℃彁渚涚殑鏈嶅姟錛岃鐪嬪畠鐨勭晫闈細 涓嬮潰鏄垜鐨勨滃叧浜庘濓紝鍛靛懙錛?BR>
寮婧愮増鏉冨0鏄?/SPAN>
浣犳墍璇寸殑KEY_SOFTKEY1,KEY_SOFTKEY2,KEY_SOFTKEY3榪欏嚑涓畾涔夛紝搴旇鏄籍锝忥綃锝夛絹銆錛碉緝銆錛★及錛╀腑鐨勶雞锝曪綄锝岋跡锝侊綆锝栵絹锝撳畾涔夌殑鍚э紵
鑰岋輯錛╋激錛幫紥錛庯紣鐨勶跡锝侊綆锝栵絹锝撹鑼冨茍娌℃湁瀹氫箟榪欏嚑涓?/P>
Page 77:
Left soft key, -6, "Left soft key" or left soft-key symbol
Right soft key, -7, "Right soft key" or right soft-key symbol
Middle soft key, -5, "Select", "Middle soft key" or similar symbol
鎵浠ユ垜浠殑錛綇锝嬶綁锝併丼amsung鍜孲onyEricsson涓撴湁紼嬪簭涓細榪欎箞瀹氫箟錛?BR> /**
* Key code for the FIRE game action.
*/
public static final int KEY_FIRE = -5;
* Key code for left soft key
*/
public static final int KEY_SOFT_LEFT = -6;
* Key code for right soft key
*/
public static final int KEY_SOFT_RIGHT = -7;
鍦ㄦ懇鎵樼綏鎷変笓鏈夌殑紼嬪簭涓垯榪欎箞瀹氫箟錛?BR> /**
* Key code for the FIRE game action.
*/
public static final int KEY_FIRE = 20;
* Key code for left soft key
*/
public static final int KEY_SOFT_LEFT = 21;
* Key code for right soft key
*/
public static final int KEY_SOFT_RIGHT = 22;
鍦ㄨタ闂ㄥ瓙紼嬪簭涓垯榪欎箞瀹氫箟錛?BR> /**
* Key code for the FIRE game action.
*/
public static final int KEY_FIRE = -26;
* Key code for left soft key
*/
public static final int KEY_SOFT_LEFT = -1;
* Key code for right soft key
*/
public static final int KEY_SOFT_RIGHT = -4;
濡傛灉浣犻潪瑕佸湪鎵嬫満涓婁嬌鐢ㄨ繖鍑犱釜錛籌綇锝嗭綌锝嬶絽锝欙綋錛岄偅涔堣娉ㄦ剰鎵嬫満鐨勫樊寮傦紝浣犲彲鑳介渶瑕侀拡瀵逛笉鍚屾鎵嬫満鍒嗗埆瀹氫箟浜嗐?BR>
* Key code for PHONE_ON key (green button)
*/
public static final int KEY_PHONE_ON = -10;
* Key code for PHONE_ON key (green button)
*/
public static final int KEY_PHONE_ON = -11;
* Key code for PHONE_ON key (green button)
*/
public static final int KEY_PHONE_ON = -14;
浠婃棩瀹屾垚鐨勫紑鍙戯紝鏄偣鍑誨墠闈㈠垪鍑虹殑blog璁㈤槄婧愭爣棰橈紝鍒欒姹俠loglines媯绱㈣繖涓壒瀹氳闃呯殑鍗氬鐧誨綍鏉$洰銆?BR>浠ュ脊鍑哄紡瀵硅瘽妗嗗睍紺烘枃绔犲唴瀹廣?BR>涓嬮潰婕旂ず姝2me杞歡錛?/P>
錛?/P>
鍒朵綔瀹屾垚浜唂lickrBuddy web service錛屽彲浠ュ畬鎴愬bloglines api鐨勬柟渚胯皟鐢ㄣ傛墜鏈哄鎴風鍒欎嬌鐢╧Soap鏉ヨ
闂繖涓猣lickrBuddy web service鏉ヨ幏寰楃敤鎴風殑bloglines璁㈤槄婧愩?BR>棣栧厛錛屽彲浠ョ湅鍒頒綘鐨勨渕y feeds鈥濅腑鍒楀嚭鐨刡log璁㈤槄婧愭爣棰樹互鍙婃湭璇繪潯鐩殑鏁扮洰銆傛瘮濡傦細
Engadget Simplified Chinese[16]
鏃佽鑰呯殑濂囧鍐掗櫓[0]
鏈畬鎴?- Incomplete[0]
鐜嬪緩紜昜0]
杞︿笢[Blog^2][0]
涓嬩竴姝ュ畬鎴愶細
鐐瑰嚮鈥淓ngadget Simplified Chinese[16]鈥濈殑鏍囬鑿滃崟錛屽氨鍙互鐪嬪埌鏈鐨勬潯鐩叏鏂囥?/FONT>
new Thread(this, "Menu thread").start();
蹇呴』鏀瑰啓涓?BR>
Thread thread;
(thread = new Thread(this)).start();
鏂硅兘鍦ㄧ湡鏈轟笂榪愯銆?BR>
榪欑紼嬪簭鑷姩閫鍑虹殑闂錛屾湁鏃跺欐槸鍥犱負浣犳牴鏈寽鎯充笉鍒扮殑浠g爜瀵艱嚧鐨勶紝榪欐椂鍊欏彧鑳介氳繃浜屽垎鎺掗櫎娉?涓嶆柇鍦版敞閲婁唬鐮佹潵緙╁皬浠g爜鑼冨洿)鏉ュ垽瀹氫簡銆?
絎簩錛屽啀璀璇達紝
浣犵殑浠g爜涓湁瀵筪ouble鐨勪嬌鐢紝姣斿榪欑浠g爜錛?BR>
double alpha = (double)Math.abs(i - m_canvasWidth / 2) /
(double)m_canvasWidth;
浣嗘槸錛屾敞鎰忎竴鐐癸紝CLDC1.1鎵嶅紑濮嬫敮鎸丮ath錛屸淢ath functions in java.lang package is available only since CLDC-1.1鈥濄傛墍浠ワ紝濡傛灉浣犱竴鏃﹀湪CLDC1.0鐨刵okia鎵嬫満涓婁嬌鐢紝閭d箞錛屽嵆浣夸綘鐢ㄤ簡try/catch鎹曡幏寮傚父錛岀▼搴忎篃浼氳嚜鍔ㄩ鍑恒?BR>
榪欐椂鍊欎綘涔熶笉瑕佹儕璇с?
絎笁錛?BR>Thread thread;
(thread = new Thread(this)).start();浠g爜鍙互榪愯銆?BR>浣嗘槸Thread thread;
(thread = new Thread(this, "Menu thread")).start();
灝變細瀵艱嚧Nokia鐪熸満绔嬪嵆閫鍑恒?BR>鍚屾牱錛?BR>Thread thread;
(thread = new Thread(new Runnable()
{
public void run()
{
m_inputHandler.handleStringInput(input);
}
}, "inputHandler")).start();
涔熶細瀵艱嚧绔嬪嵆閫鍑恒?BR>浠ヤ笂铏界劧妯℃嫙鍣ㄥ彲浠ヨ繍琛岋紝浣嗘槸鐪熸満鏄笉鍏佽鐨勩?/DIV>
鎺㈢儲鎵嬫満
javaME緋葷粺淇℃伅鐨勫疄鐢ㄥ伐鍏?/SPAN>
鏈枃妗e府浣犱簡瑙e疄鐢ㄥ伐鍏?/SPAN>midletinfo錛岀畝鍗曞湴璇達紝瀹冨彂鎺樹簡javaME鎵鑳藉緱鍒扮殑澶у鏁扮郴緇熶俊鎭紝瀵硅瘯鍥懼皢鑷繁鐨勭▼搴忓湪涓嶅悓嬈炬墜鏈轟笂榪愯鐨勫紑鍙戣呬細寰堟湁甯姪鐨勩?/SPAN>
涓嬭澆閾炬帴錛?/SPAN>http://jmobilecore.sourceforge.net/midletinfo/index.html銆?/SPAN>
瀹樻柟浠嬬粛錛?/SPAN>
Midletinfo灞曠ず浠ヤ笅淇℃伅錛?/SPAN>
u 緋葷粺淇℃伅錛?/SPAN>鍐呭瓨浠ュ強j2me灞炴э紱
u 灞忓箷淇℃伅錛氬垎杈ㄧ巼銆佽壊褰╂敮鎸併佺粯鍒跺睘鎬у拰鎸夐敭灞炴э紱
u 瀛椾綋錛?/SPAN>
u 鐢誨竷涓婃寜閿搴旂殑鍊?/SPAN>(寰堟湁鐢紒)錛?/SPAN>
u 鎵鏀寔鐨勮繛鎺ュ崗璁被鍨嬶紱
榪欎簺淇℃伅瀵逛簬寮鍙戣呰岃█錛岄兘闈炲父鏈夌敤銆傛瘮濡傝寰堝寮鍙戣呴亣鍒扮殑闂鏄紝鎸夐敭瀵瑰簲鐨勬暟鍊鹼紝姣忔鎵嬫満閮戒笉澶竴鑷達紝鐢?/SPAN>midletinfo灝卞緢瀹規槗甯綘紜畾浜嗐?/SPAN>
婧愪唬鐮佸湪姝わ細http://jmobilecore.sourceforge.net/midletinfo/src
濡傚浘鎵紺猴細
鐪嬶紝緙栫爜綾誨瀷銆?/SPAN>cldc綾誨瀷銆?/SPAN>midp綾誨瀷閮界煡閬撲簡銆?/SPAN>
濡傚浘鎵紺猴細
鏄惁鏀寔鍙岀紦鍐層佸睆騫曞ぇ灝忛兘鐭ラ亾浜嗐?/SPAN>
濡傚浘鎵紺猴細
鎸変笅鍝釜閿紝灞忓箷涓婂氨緇樺埗鍑鴻繖涓敭瀵瑰簲鐨勫箋?/SPAN>
濡傚浘鎵紺猴細
鐪嬶紝鎵嬫満褰撳墠鏄惁鏀寔http/tcp/udp/file/sms/cbs/ssl閮藉彲浠ョ珛鍗崇煡閬撱?/SPAN>
閮戞榾@ultrapower |
鍚嶇О |
鐗堟湰 |
Keyword: midlet information j2me tool |
midletinfo |
0.9.1 |
鑰屼笖鎴戞悳绱簡瀹冪殑5涓猨ava鏂囦歡錛屽畠鍦ㄤ粈涔堟儏鍐典笅璋冪敤System.gc()鍛紵
涓嬮潰涓夌鎯呭喌錛?BR>鐢ㄦ埛榪斿洖娓告垙鏃?鍙兘涔嬪墠鍘繪帴鍚數璇濅簡錛熸垨鑰呭幓璁劇疆閲屾敼鍙傛暟浜嗭紵)錛?BR>鐢ㄦ埛閫夊畬椋炴満鍚庯紝榪欏彲鑳芥槸涓涓夐」鑿滃崟錛岄夐鏈烘椂鎵鐢ㄥ埌鐨勮祫婧愬彲鑳戒互鍚庡湪娓告垙涓病蹇呰鐢紝鎵浠ュ強鏃跺洖鏀朵竴涓嬶紱
鏄劇ず榪囧叧鐣岄潰鏃訛紝榪欐椂鍊欐湁鍗$殑鐜拌薄錛屾鍠滅殑鐢ㄦ埛涔熶笉浼氬湪鎰忕殑銆?/P>
闄ゆ涔嬪灝辨病鏈変簡銆?BR>
Nokia 鐨勬枃妗?/STRONG>Known Issues In The Nokia 6600 MIDP 2.0 Implementation v1.7璇達細
2.15.1 Garbage collecting
Description
Calling the System.gc() method results in extreme slowness and jamming. In Monty 1.0 VM, garbage
collection is different and every time System.gc is called, the entire memory is really cleared.
This is an extremely slow process!
Solution
Do not call the System.gc method at all, or call the System.gc() garbage collecting method only
in non-time-critical situations, such as screen transitions, state transitions, pause states,
etc. If the System.gc() method is used, it is recommended to add a short delay (~20-50 ms) after
the method call to ensure the sufficient time for the garbage collection, as in the following
example
System.gc();
Thread.sleep(delay); delay = 20-50 ms
Windcao鎻愪緵鐨?/SPAN>CreateAlphaImage鐨勬剰鎬濇槸榪欐牱鐨勨滃鏋滈渶瑕佸崐閫忔槑鍙互鍏堝湪image涓婄敾錛岀劧鍚庢妸榪欎釜Image寮勬垚鍗婇忔槑鐨勩傛渶鍚庡皢Image緇樺埌Canvas涓婂氨OK浜嗏濄?/SPAN>
鎴戝湪宸ョ▼涓敤浜嗭紝鏈夋晥鏋滐紝濂藉儚涔熶笉闇瑕佸鍘熷鐨?/SPAN>Image src鏈変粈涔堢壒孌婅姹傘?/SPAN>
鍙互涓?/SPAN>
鍋氫竴涓嬪姣斻?/SPAN>
鍚庤呮病鏈夊皢鍥劇墖浣?/SPAN>CreateAlphaImage澶勭悊銆傛墍浠ョ粯鍒剁殑鍥劇墖瑕嗙洊浜嗗師鏉ョ殑鏂囧瓧銆?/SPAN>
鎴戞槸鍦ㄤ竴涓?/SPAN>CustomItem鎵╁睍綾諱腑浣跨敤榪欎釜鍗婇忔槑鍥劇墖鐨勶紝浠g爜濡備笅鎵紺猴細
瀹炶返鏁堟灉榪樻槸涓嶉敊鐨勩?/SPAN>
鎰熻阿windcao鐨勪唬鐮佸叡浜拰鎬濊礬鎻愪緵錛?/SPAN>
瑙e喅鍔炴硶錛?/STRONG>
涓鏄‘瀹氭湇鍔″櫒绔紜湴鏀瑰啓浜咹TTP_CONTENT_LENGTH澶村煙錛?BR>浜屾槸閽堝鎵嬫満绔嬁鍒頒簡HTTP_CONTENT_LENGTH鐨勯敊璇暟鍊?1錛屼綔鐩稿簲澶勭悊銆?/P>
2.1 How do I write a xxxx game ?
2.2 Where can I find xxxx's developer's site? Where can I find xxxx's SDKs ?
2.3 How do I make a game? Do I need to learn Java first ?
2.4 What are the basic differences between developing in J2SE and J2ME?
2.5 How do I do xxxxx? (Which isn't realated to or doesn't use J2me)
2.6 How much Heap/What screen size is/What MIDP or CLDC version is XXX handset/device?
3.1 How do I use the Nokia UI API in the Wireless Toolkit?
3.2 How do I add API X (bluetooth, wma, mmapi, Image.getRGB, ...) to a phone that does not have built in support for API X?
3.3 I am using a third party library in my app and when I try to emulate it I gives me an error like: preverfication error: com/cool/library/ClassA. What am I doing wrong?
3.4 But it's a library therefore it goes into the library directory right?
3.5 Where can I find out about XXX api to see if it is possible to do YYY with j2me?
3.6 Where can I find out if my phone supports XXX JSR?
3.7 How can I find out about whether a specific phone supports soemthing with closed APIs?
4.1 What language should I write my server in?
4.2 How do I talk to a FTP server, database, www.something.com:xxx?
4.3 How do I connect to an Database? / Can I use SQL?
4.4 I get an Exception when I try to connect to web services from the WTK emulators?
4.5 Where can I find a list of GPRS access points for REAL internet access not just WAP gateway access?
6.1 Can I access the phone's xxxx? (memory, phone book, inbox, pictures...) ?
6.2 Is it possible to access the SIM card from a java midlet in order to get the operator ID and the telephone number?
6.3 Can I access the Pictures/SMS/Phones numbers that are already on my phone?
7.1 I want to display a "Busy, please wait..." screen while i do my networking/any other lengthy process, but the waiting screen never appears, and after the process is over the result screen appears. What's wrong ?
7.2 How do I capture keypresses on a Form/List/Alert?
7.3 Ok, then how do I put a canvas on the form or use a highlevel widget on the canvas?
7.4 Why doesnt my app switch between my two/three/fifty-seven canvases when I call myDisplay.setCurrent(nextCanvas)?
7.5 Why when I set the GameCanvas to full screen does getHeight() not return the right value?
9.1 I've just developed a J2ME app in an emulator. Now I want to try it in a real phone. How can I transfer my app to a phone? Do I need to do it Over the Air (OTA) and pay a call charge each time?
9.2 But how do I do an OTA installation?
9.3 How can I automatically update my MIDlet from within the MIDlet?
11.1 Memory Management In J2ME
11.2 What is garbage collection?
11.3 Where is the Java equivalent of delete?
11.4 What happens when I call System.gc()?
11.5 Assuming garbage collection does occur, how does it work?
11.6 This tutorial is pretty useless, what can you tell me that is definitive?
11.7 How can I make it easy to ensure an object's eligibility for garbage collection?
11.8 How can I prevent my object from being elegible for garbage collection?
11.9 My device has XX kilobytes of memory but I cannot allocate all of it. What is going on?
11.10 When I print out an object I get something like Object@345563. Isn't this the address of the object?
11.11 How do I deal with OutOfMemoryErrors?
11.12 Is there any way to determine the real addresses of objects on the heap?
鍞竴鏀寔鐨勫悓姝ユ挱鏀鵑煶涔愮殑鍔炴硶鏄紝midi鍜寃av澹伴煶娣峰悎鎾斁銆?BR>鍗充嬌鏄繖鏍鳳紝涔熷瓨鍦ㄧ潃涓涓檺鍒訛細
搴旂敤紼嬪簭蹇呴』鍏堟挱鏀緈idi(鍙互浣滀負鑳屾櫙闊充箰)錛岀劧鍚庡啀鎾斁wav錛泈av鏂囦歡榪樺繀欏繪槸浠ヤ笅鐨勬牸寮忥細
PCM 8000KHZ錛?BR> 8Bit錛?BR> Mono銆?/P>
闄や簡涓婇潰榪欑鏂規硶錛屽彧瑕佹槸涓涓柊鐨刴edia琚挱鏀撅紝涓婁竴涓狿layer蹇呴』琚仠姝㈣屼笖閲婃斁璧勬簮銆?BR>
鎴戠殑涓涓鎯蟲槸(鏈浘浠g爜璇曢獙榪囷紝閿欎簡璇鋒寚鍑?錛?/P>
鐢ㄦ埛鎸夐敭鈥?鈥?閭d箞璁℃暟浠栨寜浜嗗灝戜笅錛屾牴鎹粬鎸夌殑嬈℃暟鍘諱綘浜嬪厛鍐欏ソ鐨勬暟緇勪腑鏌ュ埌鏄摢涓涓瓧絎︺傚鏋滅敤鎴瘋繜榪熸病鏈夊啀鎸変笅鍘伙紝閭d箞鍒頒簡涓瀹氭椂闂達紝灝卞簲璇ョ‘璁や粬鐨勮緭鍏ヤ簡錛宼imer鍛㈠氨璋冪敤confirmCharacter()銆?/P>
String[] values = {".,1","abc","def"... ...};
keyPressed(keyCode) {
int index = keyCode - KEY_NUM0;
if(index == lastindex) charselected++;
else lastindex = index;
// here reset the key confirmation timer
tempInputString+=values[index].char(charselected);
}
//When timer gets triggered, it calls this method
void confirmCharacter() {
inputString = tempInputString;
lastindex = -1;
}
濡傛灉鎴戣閿欎簡錛岃鎸囧嚭銆?/P>
璀璇翠綘褰撳墠鏄湪涓涓狢anvas涓婏紝ok錛?BR>To "catch" an event, just implement one of
# showNotify()
# hideNotify()
# keyPressed()
# keyRepeated()
# keyReleased()
# pointerPressed()
# pointerDragged()
# pointerReleased()
濡傛灉浣犵壒鍦伴拡瀵筴eyPressed錛岄偅涔堬細
public class MyCanvas extends Canvas {
MyMIDlet midlet; // the midlet reference
public MyCanvas(MyMIDlet m) {
midlet = m;
}
protected void keyPressed(int keyCode) {
if (getGameAction(keyCode) == Canvas.FIRE) {
midlet.firePressed();
}
}
}
涓嶈繃錛屽煎緱娉ㄦ剰鐨勬槸錛屾墜鏈虹殑鎸夐敭騫朵笉鑳戒繚璇佷釜涓兘鑳芥嬁鍒幫紝鑰屼笖涓婁笅宸﹀彸涔嬬被鐨勭壒瀹氭剰涔夌殑鎸夐敭涔熸湭瑙佸緱閮芥湁錛屾墍浠ュ皬蹇冦?
Port number Description
2805 WAP WTA secure connection-less session service
2923 WAP WTA secure session service
2948 WAP Push connectionless session service (client side)
2949 WAP Push secure connectionless session service (client side)
5502 Service Card reader
5503 Internet access configuration reader
5508 Dynamic Menu Control Protocol
5511 Message Access Protocol
5512 Simple Email Notification
9200 WAP connectionless session service
9201 WAP session service
9202 WAP secure connectionless session service
9203 WAP secure session service
9207 WAP vCal Secure
49996 SyncML OTA configuration
49999 WAP OTA configuration
鏅歋MS鐨勭鍙f槸鐗瑰畾鐨勶紝鍙互閫氳繃this.getAppProperty("SMS_Port")鏉ヨ幏鍙栵紝鍙浣犵殑璁懼鏀寔JSR120銆?/P>
http://www.j2medev.com/bbs/dispbbs.asp?boardid=21&id=4099&star=1#2083 錛岃繖閲屾槸鍘熷璁ㄨ璐淬?/SPAN>
榪欓噷鎴戜滑緇欏嚭涓涓濊礬錛?/SPAN>鍙互鍏堣繖鏍鳳紝鎵嬫満鍏堣闂竴涓浐瀹氱殑緗戝潃錛岀劧鍚庡氨浼氳鍒嗛厤涓涓?/SPAN>IP錛岃繖灝辨槸鎵嬫満鐢ㄦ潵鍜屽鐣岃仈緋葷殑IP浜嗐?/SPAN>
Efei璇達紝鍒氭墠嫻嬭瘯浜嗕笅錛屼嬌鐢ㄤ竴孌墊枃妗d笂鎻愪緵鐨勪唬鐮侊紝涔熷氨閭d袱涓夊彞璇?/SPAN>
try{
ServerSocketConnection scs = (ServerSocketConnection) Connector.open("socket://:1234");
frmMain.append("ip:" + scs.getLocalAddress());
}
catch (Exception e) {}
鍙栧緱浜嗕竴涓?/SPAN>IP錛?/SPAN>10.66.7.28銆?/SPAN>
榪欎釜IP澶栭儴緗戠粶鏄棤娉曡闂殑錛屾崲璦涔嬶紝鍐呴儴緗戠粶鍙互璁塊棶銆?/SPAN>
鎵浠ュ彧瑕佸湪縐誨姩鐨勬満鎴挎湁鏈嶅姟鍣紝浣犲彲浠ヨ闂簡
浣嗘槸榪樻湁涓棶棰橈紝榪欎釜IP鏄姩鎬佸彉鍖栫殑錛屾墍浠ヨ嚦灝戦渶瑕佸鎴風鍏堣闂湇鍔″櫒涓涓嬶紝璁╂湇鍔″櫒鐭ラ亾浣犵幇鍦ㄧ殑IP銆?/SPAN>
紜疄濡?/FONT>efei鎵璇達紝鎴戝湪鎵嬫満涓婃祴璇曠粨鏋滀篃鏄嬁鍒頒簡socket://10.15.134.128:4234錛岀湅鏉ユ槸娌″姙娉曡闂殑浜嗐備絾鏄垜瑙夊緱铏界劧鎴戜滑鐨勪綅浜?/FONT>Internet鐨勬湇鍔″櫒鏃犳硶璁塊棶錛屼絾鏄篃璁稿彟涓閮ㄦ墜鏈烘槸鍙互璁塊棶榪欎釜鍦板潃鐨勶紝鎵浠ユ墜鏈虹殑p2p鐞嗚涓婁篃璁告槸鍙鐨勩?/SPAN>
鎴戠殑嫻嬭瘯浠g爜鍦?/FONT>http://www.cnblogs.com/Files/zhengyun_ustc/GetDynamicIP.rar涓嬭澆錛屽畨瑁呯殑jar鍖呭湪http://www.cnblogs.com/Files/zhengyun_ustc/GetDynamicIP-deployed.rar涓嬭澆錛?/SPAN>
Nokia7610嫻嬭瘯閫氳繃銆?/SPAN>
鏈嬪弸浠篃鍙互鑷繁鍦ㄧ湡鏈轟笂璇曢獙涓嬭繖涓▼搴忋?/SPAN>
鐢ㄤ笅闈㈢殑浠g爜鍙互寰楀埌涓涓?/FONT>socket 鍔ㄦ?/FONT>IP |
//Use an unrestricted filter. String filter = "*"; String url = "socket://:" + m_sSocketPort; ServerSocketConnection ssc = null; try { //Open the connection. ssc = (ServerSocketConnection) Connector.open(url); System.out.println("/* Already Open the connection!"); //Discover the system-assigned port. url = "socket://:" + ssc.getLocalPort(); //Register the connection now. The AMS will //remember the registered URL even when the MIDlet //is not active. PushRegistry.registerConnection(url, m_sMidletClassName, filter); System.out.println("/* Already Register the connection now!" + url); //Now publish the push URL. We can use an HTTP //POST or a socket or datagram for this. String purl; purl = "socket://" + ssc.getLocalAddress() + ":" + ssc.getLocalPort(); publishInboundConnection(purl, m_sMidletClassName); } |
http://www.spindriftpages.net/pebble/dave/2005/06/20/1119275880301.html
I needed to sign a MIDlet and deploy it on a Nokia Series 60 phone (i.e. 6630, 6680 etc) so the user doesn't constantly get security alerts. I figured (hoped?) this might be a fairly simple task since any useful application is likely to need access to restricted functionality. It turns out I was very, very wrong. There is virtually no information on how to sign and deploy an application on the web. Anyway here are the steps I took to get to et my MIDlet signed and installed!
Get required software
1. Get and install the Java SDK (JDK) from Sun (you should already have this)
2. Get and install the Java Wireless Toolkit (WTK) also from Sun
3. Optionally get and install Ant and Antenna to allow you to automate your build
Create and import a certificate
1. You need to use keytool (from the JDK)
2. I used the following command keytool -genkey -alias {myalias} -keyalg RSA -validity 365
3. This will prompt you for a keystore password, enter your keystore password (if you have an existing keystore) or the one you want to use if you don't have one yet
4. Fill in all the prompts about location/company name etc
5. Run keytool -list to see your new certificate
6. Next you must export the certificate so you can import it to your phone
7. Run keytool -export -alias {myalias} -file mycertificate.crt
8. Import the certificate into your phone, in Windows XP SP2 I could do this by right clicking the file and selecting "Send to Bluetooth Device"
Build and package the application
1. Use javac to build your MIDlet paying special attention to your classpath and bootclasspath options (otherwise preverification will fail). I also set target to 1.1 and source to 1.3
2. Generate your JAD file the critical attributes in the JAD are MIDlet-Jar-URL, MIDlet-Jar-Size, MIDlet-Permissions we also included MIDlet-Icon, MicroEdition-Configuration, MicroEdition-Profile, MIDlet-Name, MIDlet-Push-1, MIDlet-Icon, MIDlet-Descriptionn and MIDlet-Version
3. Generate the MANIFEST.MF file based on your JAD, you must remove MIDlet-Jar-Size and MIDlet-Jar-URL
4. Both these tasks can be completed using the wtkJad Antenna task
5. Package and preverify the app using the wtkPackage Antenna Task you must set the classpath and bootclasspath properties correctly otherwise Preverification will fail
Sign the application
1. Sign the Application using jarsigner
2. Run jarsigner -keystore {mykeystore} -storepass (mypassword} {myjar} {myalias}
3. Now you have a signed jar you need to update the MIDlet-Jar-Size in your JAD
4. Now add the certificate to the JAD using JadTool.jar from the WTK
5. Run java -jar JadTool.jar -addcert -alias {myalias} -storepass {mypassword} -keystore {mykeystore} -inputjad {myinputjad} -outputjad {myoutputjad}
6. Now add the signature to the JAD again using JadTool.jar
7. Run java -jar JadTool.jar -addjarsig -alias {myalias} -jarfile {myjar} -storepass {mypassword} -keypass {mypassword} -keystore {mykeystore} -inputjad {myinputjad} -outputjad {myoutputjad}
8. You can now deploy this to a webserver with the MIME types set correctly and download it to your phone and it will be a trusted 3rd party application
Tags : jar, signing, nokia, midlets, technology
絎簩錛?MessageConnection)Connector.open鐩戝惉涓嶅悓绔彛鏄病鏈夐棶棰樼殑銆傛瘮濡?A >http://www.cnblogs.com/Files/zhengyun_ustc/SimplePushRegistry.rar鐨勪緥瀛愶紝浣犲氨鍙互鐪嬪嚭榪欎竴鐐廣傚湪midlet鐨剆tartApp涓紝
protected void startApp() throws MIDletStateChangeException {
if (!init) {
init = true;
String[] conns =
PushRegistry.listConnections(false);
System.out.println("Found " + conns.length +
" connections.");
for(int ccnt=0; ccnt < conns.length; ccnt++){
DatagramHandler handler =
new DatagramHandler(conns [ccnt], this);
connectionHandlers.addElement(handler);
handler.start();
}
}
}
浠庤屽緱鍒版墍鏈夋敞鍐岀殑榪炴帴錛屽茍杞彂緇欑嚎紼嬪鐞嗐傜嚎紼嬪氨鍙互鏍規嵁鎵浼犲叆鐨勮繛鎺ュ悕縐幫紝鑷鎵撳紑錛?BR> public DatagramHandler(String c, PushSMSListner midlet){
try {
dgc = (DatagramConnection)Connector.open(c);
} catch (IOException x){
x.printStackTrace();
}
m_midlet = midlet;
}