|
Page 9 of 12
The previousRecordId() method is a method of the RecordEnumeration interface. It returns the record Id of the previous record in a given enumeration set. The previous record is specified by the comparator or filter supplied in the constructor of this enumerator. When this method is called, the... [read more..]
CLDC stands for Connected Limited Device Configuration. It defines a set of libraries and JVM for resource constraint devices such as mobile phones. In combination with a profile, it provides a runtime environment for J2ME applications. It is meant for devices having following characteristics:... [read more..]
The numRecords() method is a method of the RecordEnumeration interface. It returns the total number of records from the enumeration set, i.e., the number of records that match the filter criteria. The general syntax of this method is as follows: public int numRecords() [read more..]
The listConnections() is a method of the PushRegistry class. This method is used to retrieve an array of registered connections for the current MIDlet suite. The general syntax of this method is as follows: public static String[] listConnection(boolean available) [read more..]
The DatagramConnection interface defined in the Generic Connection Framework extends the Connection interface. It specifies the functionalities that a datagram connection must provide. The parameter string specifying the target of the connection is as follows: (protocol):[//(host)](port) A... [read more..]
The createPlayer() method is a method of the Manager class. It is used to create a player from a specified string locator. The general syntax of this method is as follows: public static void createPlayer(String locator) Here, locator specifies the String containing the URL of the media to... [read more..]
The setLoopCount() method is a method of the Player interface. This method is used to set the number of times the Player will loop back and play the media specified in the createPlayer() method. The general syntax of this method is as follows: public void setLoopCount(int play) Here,... [read more..]
The listRecordStores() method of the RecordStore class is used to get an array of the names of record stores available on the device's persistent storage. The general syntax of this method is as follows: public static String[] listRecordStores() If there is no record store available on... [read more..]
The application manager calls for start, pause, and destroy methods of a MIDlet life cycle to start, stop, and terminate a MIDlet. Sometimes an application manager terminates a MIDlet in between. For example, a MIDlet is saving persistent data and a call to the destroyApp() method is made by the... [read more..]
The registerConnection() method dynamically registers a MIDlet suite with application management software (AMS) for push-enabled activation. The general syntax of this is as follows: public static void registerConnection(java.lang.String connection, java.lang.String midlet, java.lang.String... [read more..]
|