Tuesday, October 12, 2010

Several important concepts introduced J2ME



J2ME platform has several important concepts, such as memory, CLDC, MIDP, etc.. J2ME beginners often these concepts are not thoroughly understood, or even bias. The purpose of this paper is related to the J2ME important concepts in the set.

1. Memory

We have been emphasizing the mobile information device memory is very small, should be double the value to use, but we know very little about the categorization of this memory, the following will be done in detail. In fact MIDP device memory is divided into three types, Programme Memory, Heap, persistent Storage.

Programme Memory is a mobile information device space allocated to the MIDlet suite, because the MIDlet suite jar file is released, so the file size can be considered Programme Memory size. Some manufacturers Programme Memory of the maximum value is limited, such as my Nokia 6108 the maximum value is 64k, more than words will not be installed. Reduce the size of MIDlet suite is very important, a convenient way is to use Obfuscator confusion on the application, this can reduce the size of jar file. In a future article I will cover how to use Proguard.

Heap is the application created during the operation of storing the object's storage space, local variables and member variables are also placed on the Heap, MIDP devices Heap space provided k about the dozens to hundreds of K.

Persistent Storage space is used to implement the MIDP application is persistent local data store, in the Record Management System from entry to the master of detail I did not like to say again here.

2. Connected Limited Device Configuration

聽聽聽聽聽 CLDC鍖呮嫭涓?釜Java铏氭嫙鏈哄拰涓?郴鍒楃殑鍩虹绫伙紝J2ME鐨勪笓瀹剁粍缁忚繃瀵圭Щ鍔ㄤ俊鎭澶囪繘琛岀‖浠舵娊璞″悗寰楀埌浠栦滑鐨勭壒鐐癸紝鐒跺悗璁捐骞跺疄鐜颁簡鍦ㄧЩ鍔ㄤ俊鎭澶囦笂杩愯鐨刯ava铏氭嫙鏈猴紝閫氬父鎴戜滑鎶婂畠鍙仛KVM銆傚湪CLDC1.0杩樺悓鏃舵彁渚涗簡鐢眏ava.io銆乯ava.lang銆乯avax.microediton.io銆乯ava.util缁勬垚鐨勫熀纭?被銆傚湪CLDC1.1閲岄潰娣诲姞浜唈ava.lang.ref銆?br />
聽聽 3. Mobile Infomation Device Profile

聽聽聽聽聽 MIDP鏄繍琛屽湪CLDC鍩虹涔嬩笂鐨勶紝鍦∕IDP涓畾涔変簡搴旂敤绋嬪簭鐨勭敓鍛藉懆鏈熴?鐢ㄦ埛鍥惧舰鐣岄潰銆佹暟鎹鐞嗙郴缁熺瓑瀛愰泦锛屼粠鑰屾瀯寤鸿捣浜咼2ME骞冲彴銆傞?甯革紝J2ME骞冲彴鐢变竴涓狢LDC鍜屼竴涓垨鑰呭涓狿rofile鏋勬垚銆?br />






相关链接:



Premier Genealogy



HP: There ARE a sequel to the legendary Silicon Valley



PLM on the 411



3DMax done USING NURBS baseball bat



MOV to iPod



Baidu Lotte Joint venture Formation of landed four domestic B2C



Six college students recruited reef workplace



VBScript REDIM statement



TOD To WMV



Easy Computer Education



m4v to mp4 mobile Codec



MP4 to FLV



PHOTOSHOP plug-in filter is the ultimate Dharma (2)



Lists Trace And Ping Tools



Chongqing in March 2007 by digital TV fee



No comments:

Post a Comment