Home | Русский

J2ME – How to write – read image in – from RMS

The example below saves image file into RMS and shows it on mobile.
Data like image, image name, width, height can be stored in RMS.
The size of the image file do matters if phone capacity is small.
Sample.java

package freesrc.com;

import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Image;
import javax.microedition.midlet.*;

/**
* @author freesrc.com
*/
public class Sample extends MIDlet {

private Display [...]

Posted in: J2ME by admin No Comments , , , ,

J2ME – Images, Tickers and Gauges

Using images, tickers, and gauges as UI elements in MIDlets is quite straightforward. A gauge, as you saw in the last section, is an item that can only be displayed on a form to indicate progress or to control a MIDlet feature (like volume). A ticker, on the other hand, can be attached to any [...]

Posted in: J2ME by admin 1 Comment , , , ,