|
Page 2 of 12
The Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0 certification exam is meant for software developers who are developing mobile applications by using the Java 2 Platform, Micro Edition (J2ME) technology. The devices include cellular phones,... [read more..]
MIDP stands for Mobile Information Device Profile. It, in combination with CLDC (Connected Limited Device Configuration), provides runtime environment for a J2ME application on mobile devices such as mobile phone, PDA, etc. It provides functionalities such as user interface, network connectivity,... [read more..]
The TextField class is used to take one-line or multiple-line input from a user. The number of characters depends upon the maximum size of the TextField. The general syntax to create a TextField is as follows: TextField textfield=new TextField("label", "input", "size", "constraint") The... [read more..]
JTWI stands for Java Technology for the Wireless Industry (JSR 185). It is a combination of the following specifications: JSR 30 JSR 118 JSR 120 JSR 135 JSR 30 defines CLDC, which provides KVM, networking capabilities, and J2SE packages to build J2ME applications. JSR 118 defines... [read more..]
The java.util package is the most widely used package. It contains classes and interfaces that provide wide range of functionalities such as manipulating date and time, observing events, manipulating set of bits, etc. Some of the classes of this package are listed below: Date TimeZone... [read more..]
Developing a user interactive application is a daunting task. A developer needs to be very careful and understanding while developing an application that supports a user interface. He should very intelligently use colors in the application, so that it does not pinch in the eyes of users or appear... [read more..]
The getResourceAsStream() method is a method of the Class class. It is used to read a resource with a specified name from the JAR file. It returns null if the JAR file contains no such resource. The resource name can be given in two forms: Absolute: In absolute form a programmer provides a full... [read more..]
The getAppProperty() method is a method of the MIDlet class. It is used to retrieve the value of the attributes specified in the JAD or the manifest file. The general syntax of this method is as follows: public final String getAppProperty(String key) Here, the key parameter takes the name... [read more..]
The unregisterConnection() method is a method of the PushRegistry class. It is used to eliminate a dynamic push connection of a MIDlet. The general syntax of this method is as follows: public boolean unregisterConnection(String con) Here, the con parameter specifies the connection url... [read more..]
The HttpConnection interface contains methods and constants to obtain an Http connection. An Http connection is obtained using the Connector.open() method. A URL with the http scheme is passed to this method to get an Http connection, as shown in the syntax below:... [read more..]
|