|
List of Free SCMAD Articles from uCertify.com |
|
|
Written by Roger Stuart
|
|
Page 8 of 12
JNI stands for Java Native Interface. It provides an interface between Java applications and applications written in other programming languages such as C and C++. It allows Java applications to use C libraries and C applications to use Java classes. [read more..]
A MIDlet is an application built to run on MIDP compliant devices. It is designed to run on devices such as mobile phones that have less memory storage and slow processor. Every MIDlet class must inherit javax.microedition.midlet.MIDlet. [read more..]
The Sprite is a game API class. It provides animation to a set of image sequence. It allows several transformations such as flip and rotation to an image. Each frame sequence has a unique number, starting from zero. It defines the following three constructors: Sprite(Image image): This creates... [read more..]
The paint() method is a method of the GameCanvas class. It is called in an application to draw the contents of Canvas on the screen. The general syntax of this method is as follows: protected void paint(Graphics g) Here, g is the instance of the Graphics class. [read more..]
The Gauge class is a subclass of the Item class. It defines methods to create animated progress bar. This progress bar graphically depicts the status of a process. The following syntax is used to create an instance of the Gauge class: Gauge gauge= new Gauge(String Label, Boolean Val, int Max,... [read more..]
The setMediaTime() method of the Player interface is used to specify how long the media will be played. The general syntax of this method is as follows: public long setMediaTime(long now) Here, the now parameter specifies the duration in microseconds. [read more..]
The Connection interface is defined in the Generic Connection Framework (GCF). It is the most basic interface. All other interfaces defined in the GCF extend this interface. It defines only one method, i.e., close(). [read more..]
The getMIDlet() method is a method of the PushRegistry class. It is used to extract the MIDlet for a specified connection. The general syntax of this method is as follows: public static String getMIDlet(String connection) Here, the connection parameter indicates generic connection... [read more..]
The getFilter() method is a method of the PushRegistry class. It is used to extract the registered filter for a specified push connection. The general syntax of this method is as follows: public static String getFilter(String Connection) Here, the Connection parameter is the string... [read more..]
The setCurrent() method is a method of the Display class. It is used to display objects on the screen. The general syntax of this method is as follows: public void setCurrent(Displayable disc) The instance of the class to be displayed is passed as an argument to this method. For example,... [read more..]
|