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 />
相关链接:
Rain Forest Wind-founder: CNTV.com Destination Domain Being Assessed
RUP Tailoring Principles And Cutting Process
Memory Addressing Modes On The 8086/88
retrieve deleted FILE 3
Easy to use CLIPBOARD Tools
for you Cartoons - Screen Savers
3G2 To WMV
Half an hour to teach you learn regular expressions
MKV to MOV
PC Redemption
FrontPage2003 Jianzhan all Raiders 1
2009 CAXA Ten News
TOD To WMV
4G stressed Highly versatile