Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart

Archive for the ‘Midlet’ Category

Step by Step for First MIDlet

Posted by: Chyne on: May 18, 2008

1. Install the Sun Java(TM) Wireless Toolkit 2.5.1 for CLDC
Installation path: C:\WTK2.5.1\apps2. File — > New Project
Project Name: MidletProgramming
MIDlet Class Name: HelloMidp
3. Create a .java file in C:\WTK2.5.1\apps\MidletProgramming\src\hellomidp
File Name: (HelloMidp.java)
4. Click Build.
5. If no errors, click Run and the phone emulator will prompt out.
6. Click the enter button in the phone emulator after choosing the [...]

Tags:

Friday’s Java Snack


In Java, "thread" means:

  • An instance of class java.lang.Thread
  • A thread of execution


An instance of Thread is just an object that has variables and methods, and lives and dies on the heap.
 
A thread of execution is an individual process that has its own call stack (one thread per call stack).

 

November 2009
M T W T F S S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives


StatCounter

free hit counters