J2ME Programming. Recommended Books. Programming Wireless Devices with the Java2 Platform, Micro Second Edition (Paperback) by Roger Riggs (Editor), Antero Taivalsaari , Jyri Huopaniemi , Mark Patel , James VanPeursem , Aleksi Uotila
PowerPoint Slideshow about 'J2ME Programming' - arleen
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Now, you can use Textpad to write J2SE programs. However, our goal is to write Java 2 Platform Standard Edition (J2ME) programs for mobile phones. Originally, you have to download CLDC 1.1 and MIDP 2.0 for developing J2ME programs for mobile phones. Now, you can simply download J2ME Wireless Toolkit 2.2 which includes CLDC 1.1, MIDP 2.0 and interfaces to compile and run J2ME program.
To download J2ME Wireless Toolkit 2.2, visit: http://java.sun.com/products/j2mewtoolkit/download-2_2.html, then
1. Click "Download" at the bottom of the page.
2. Accept "Licence Agreement".
3. Select "Windows Platform" to download.
4. Execute the file "j2me_wireless_toolkit-2_2-windows.exe" to install.
Let's jump right in the water by creating a new project. Click on New Project in the button bar. The toolkit prompts you for a project name and the name of a MIDlet class in the project. Fill in HelloSuite and HelloMIDlet as shown below
Once you fill in the project name and first MIDlet name, the toolkit gives you a chance to edit the project settings. Just accept the defaults for now; press OK to finish creating the new project. In the text output pane of the J2ME Wireless Toolkit, you'll see several helpful messages telling you where to store the project's source files. On my machine, these messages are:
Creating project "HelloSuite" Place Java source files in "C:\WTK22\apps\HelloSuite\src" Place Application resource files in "C:\WTK22\apps\HelloSuite\res" Place Application library files in "C:\WTK22\apps\HelloSuite\lib" The toolkit stores each project in a subdirectory of the appsdirectory.
The name of the subdirectory is the same as the name of the project. Here, the toolkit has created a new directory, c:\WTK22\apps\HelloSuite. Each project subdirectory has a standard structure: