Posts

Showing posts from November, 2005
Image
Content Step 1: Install Java Step 2: Install J2ME Toolkit Step 3: Testing Installing JDK ... Firstly, goto "http://java.sun.com" and grab a copy of the latest JDK (notice: only J2RE will only allow you to run java apps, if you are going to developement MUST use a JDK). Unzip it and put it in a folder, here we use "c:/java/j2sdk" as a default directory! Then you have to setup an environment variable in order to make work. Setting up environment variable for Java ... Right click on "My Computer", select "properties"->"Advanced"->"Environment Variables", and you will see stuff like below: JAVA_HOME=C:\java\jdk1.2.4_01 (refer to path where you install the Java sdk) PATH= ... ;C:\java\jdk1.2.4_01\bin Installing J2ME Toolkit ... This may be as simple as it seems, just goto j2me download site , pick a copy of " Sun Java Wireless Toolkit" ... install it and start coding. Note that you may have a few choice eithe

JDBC comes to J2ME finally?

Image
J2ME Brief Introduction J2ME is always comes with limitation, limited memory, limited processing power, limited storage ... . It's made out of MIDP ( M obile I nformation D evice P rofile ) and CLDC ( C onnected L imited D evice C onfiguration ), CLDC as defined by it's term ... represent a limited resource device. It minimum equiped with 128kb Java memory, 32kb heap, low power and low battery, network/wireless connectivity with low bandwidth . In those days, we can't put too much fancy stuffs in these kind of device, like database for instance. A big brother of CLDC , the CDC ( C onnected D evice C onfiguration ) had far more capability than it's little brother (minimum 512kb memory, minimum 256kb heap, network persistent connectivity with high bandwidth ). So where do we see CDC and CLDC ? CLDC is common among any j2me phones, but CDC can only be seen on high-end PDA phones like Nokia S80 series , Sony Ericsson smart phones and others which compliant with JS