Beginning J2ME platform: from novice to professional by Sing Li; Jonathan Knudsen

By Sing Li; Jonathan Knudsen

Show description

Read or Download Beginning J2ME platform: from novice to professional PDF

Similar programming: programming languages books

Effektiv Java programmieren : [57 Regeln für eine professionelle Java-Programmierung]

Java-Handbücher neigen zum Wuchern und enden oftmals als fette Backsteine zum Abstützen anderer Bücher im Regal. Wer liest schon 1. two hundred Seiten wirklich durch? Da fällt ein Java-Buch von etwas über 2 hundred Seiten schon ins Auge. Beim Java lernen ist es nicht mit einer umfangreichen Referenz der Sprache selbst getan -- die Denke und die Konzepte dahinter wollen auch verstanden und umgesetzt werden.

Extra resources for Beginning J2ME platform: from novice to professional

Example text

A simplified version of the build script is shown in Listing 2-2. Listing 2-2. 0"/> CHAPTER 2 ■ BUILDING MIDLETS This build script contains targets that correspond to the steps of MIDlet suite development: compile, preverify, and dist (which packages the application). An obfuscate_null target is also included; it serves as a placeholder for inserting obfuscation in the build cycle. ) Several developers have created specialized Ant tasks to help with MIDlet suite builds.

MediaControlSkin is similar to the default phone emulator and has a color screen of 108×208 pixels, but its buttons are labeled with controls like a music player: a square for stop, a triangle for play, volume control buttons, etc. • QwertyDevice is a smartphone with a 636×235-color screen and a miniature QWERTY keyboard. Running MIDlets Sun’s MIDP reference implementation includes an emulator named midp. It emulates an imaginary MID, a mobile telephone with some standard keys and a 182×210-pixel screen.

CHAPTER 2 ■ BUILDING MIDLETS Using the Emulator Controls The J2ME Wireless Toolkit emulator appears as a generic mobile phone, as shown in Figure 2-2. Figure 2-2. Buttons on the J2ME Wireless Toolkit emulator SUN’s J2ME Wireless Toolkit emulator exhibits several qualities that you are likely to find in real devices: • The device has a small screen size and limited input capabilities. ) • Two soft buttons are available. A soft button does not have a fixed function. Generally, the function of the button at any given time is shown on the screen near the button.

Download PDF sample

Rated 4.03 of 5 – based on 11 votes