Programming Tutorials

J2ME Tutorials

41. Sample program to draw text in J2ME

By: Abinaya : 2007-09-16

Description: To draw text, specify the anchor point and the weighting of the anchor point. You can also specify the font of the text to be drawn.


42. A sample J2ME midlet that shows an example of using a Timer and a TimerTask.

By: Ivan Lim : 2007-09-08

Description: This MIDlet creates two gauges. One gauge gaugeOne sets elements from low to high. The other, gaugeTwo set elements from high to low. In effect, this has gaugeOne "going up", and gaugeTwo "going down.


43. Sample J2ME code that shows various functionality of RMS.

By: Henry : 2007-09-08

Description: The general flow of this MIDlet is In the constructor (See RMSMIDlet), create and populate two record stores, one of personal contacts, the other with business contacts. Display the first screen. This screen shows a list of all RMS stores found in the MIDlet suite's name space. This screen allows the user to select a record store and either display pertinent information about the record store such as size, etc., or to view the contents of the selected store. When the contents of a record store are viewed, they are sorted by last name, though this can be changed by instantiate a SimpleComparator object with the appropriate sort order parameter. Traversal from screen to screen is handled by RMSMIDlet, commandAction.


44. Sample Java program shows how to Read a file over a network using J2ME midlet

By: Bob Wilson : 2007-08-23

Description:

This Sample Java program shows how to Read a file over a network using J2ME


45. How to load J2ME applications to the IDEN handsets

By: Emiley J. : 2006-12-17

Description: The iDEN developers have always faced the problem in loading the J2ME application to their iDEN handsets. Until late 2006 there have been restrictions on how many handsets a developer can use to upload applications. Motorola also had an authentication mechanism by which the developer had to get the local iDEN network provider's permission to use the iDEN web jal application loader. It all has changed.


46. Download a file over a network in J2ME midlet

By: Eriq Tan : 2006-12-12

Description: This sample code can be used to download and view a file over a network in a TextBox component Through an httpConnection,


47. What is J2ME?

By: Emiley J. : 2006-12-09

Description: J2ME is the short form for Java 2 Micro Edition. J2ME is meant for tiny devices such as mobile phones, TV set top boxes, Vehicle telematics, pagers, PDAs etc. There are many differences between J2ME and other Editions of Java. The reason being the target devices of J2ME are very much different from the Computers.