Simple MIDlet example

Introduction

This example demonstrates a MIDlet running on the Lightfoot development board. This example allows you to use an LCD display or a remote X11 display.

Building the example

Change directory to the midpman example
    cd %LF_HOME%\examples\midpman

Rebuild the application to either use a remote X11 display
    lfmake clean all

or to use a display board if you have one
    lfmake clean all USE_LCD=1

Running the example

If you don't have a display board, the demo can be built to use an X11 display as described above. Make sure this is running and that it will accept remote connections (xhost +) before downloading the application.

To run the example on the board
    lfdownload AppMgr.bin

The display shows one object moving around. Press the right cursor key to increase the number of objects. Each object is implemented using a separate thread in the system.

Features

This example demonstrates the following SDK features.