|
List of Free SCMAD Articles from uCertify.com |
|
|
Written by Roger Stuart
|
|
Page 10 of 12
PushRegistry is a new API added to MIDP 2.0. It manages network and timer-based activation of a MIDlet. It has the following methods to create and manage activation: registerConnection() getFilter() getMIDlet() registerAlarm() [read more..]
The setAddress() method is a method of the Message interface. The general syntax of this method is as follows: public void setAddress(java.lang.String address) Here, the address parameter defines the destination address for the message. The address should use the same URL string as the... [read more..]
The getAppProperty() method is used to get the value of an attribute from a JAD file or a manifest file. It takes an attribute name as the parameter and returns its value. The general syntax of this method is as follows: String getAppProperty(String "Attribute Name") [read more..]
The GameCanvas class is provided in the javax.microedition.lcdui.game package. It extends the Canvas class. It not only inherits the features from the Canvas class but also provides game-specific capabilities such as an off-screen graphics buffer and the ability to query key status. Some of the... [read more..]
The playTone() method is a method of the Manager class. It is used to create playback sound in a MIDlet. The general syntax of this method is as follows: public static void playTone(int note, int duration, int volume) The note parameter takes a value between 0 and 127. The duration... [read more..]
MMAPI stands for Mobile Media Application Programming Interface. The Java Community Process (JCP) developed MMAPI as JSR 135. It is an optional package of the J2ME platform. It provides a standard API to support rendering and capturing of time-based media, such as audio tracks and video clips.... [read more..]
The enumerateRecords() method is a method of the RecordStore class. This method is called to retrieve the subset of a record store. The general syntax of this method is as follows: public RecordEnumeration enumerateRecords(RecordFilter filter, RecordComparator comparator, boolean keepUpdated)... [read more..]
The close() method is a method of the Connection interface. It is used to close a network connection. The general syntax of this method is as follows: public void close() Note: Once the connection is closed, a call to any method other than this (close) will throw an IOException. [read more..]
The newMessage() method is a method of the MessageConnection interface. It creates a new message. The general syntax of this method is as follows: newMessage(java.lang.String type): The type parameter takes one of the constant values defined in the MessageConnection interface. The values are... [read more..]
The nextFrame() method is a method of the Sprite class. It is used to choose the next frame from a sequence of frames. The general syntax of this method is as follows: public void nextFrame() It has a void return type. [read more..]
|