
|
The MIDP demos run in a simple phone mockup. The mockup includes a faceplate and keypad to demonstrate how applications will look and feel on a real phone while allowing developers to create applications in their familiar desktop environment. |

|
Mobile information devices (MIDs) vary in the set of buttons they support. Most typically support up/down navigation, sometimes left/right navigation, and most have a select button. The number of soft, or programmable, buttons varies between devices. The mockup phone used to run the demos has two soft buttons, a CLEAR button, up, down, left, and right navigation buttons, and a select button (in the center of the navigation buttons). |

|
A standard phone keypad includes numbers 0-9 and # and * function keys. In the phone mockup, the "mode shift" and "space" functions are mapped to the * and # keys on the keypad. |

|
The application selector shows a list of available applications and lets the user choose which one to run. Each application has a name and icon.
To run a demo move the highlight to the menu item and press Select. To quit a demo, press the End call button on the phone pad. This will return you back to the application selector.
|
MIDlet Suite |
MIDlet |
Screen Shot |
Description |
Games |
WormGame |
 |
In WormGame, the goal is to get your worm to eat as many blocks as possible without hitting the outside walls or running into its own tail. Use the arrow keys to maneuver.
|
TilePuzzle |
 |
The TilePuzzle demo is a typical word shuffling game. Press Start to play or Menu to change the game options.
|
Demos |
Colors |
 |
The color chooser utility lets you select red green and blue values in selecting a color. Set SCREEN_DEPTH=8 before starting the color chooser demo.
|
HTTP Test |
 |
The HTTP Test program allows you to view the contents of a site using the HTTP protocol. Use the arrow buttons to choose a site to view, then press the select button. Press the right soft button on the phone to see headers, requests and errors.
|
Properties |
 |
The Properties application displays information about the device, such as the device's free and total memory.
|
ManyBalls |
ManyBalls |
 |
The ManyBalls demo illustrates what can be accomplished in a multithreaded execution environment. Press left/right to change the number of balls and up/down to change the speed.
|
Ticket Auction |
Ticket Auction |
 |
Makes use of many of the high level GUI components to create a mockup of a ticket auction service. Try looking up the ticket auctions for a band, setting an alert, or making a bid.
|
PushPuzzle |
PushPuzzle |
 |
In the game PushPuzzle, the object is to move the solid boxes into the hollow "storage" boxes. At higher levels, where walls are added to increase difficulty, you might want to use the Undo command to back up a step. To change the game options, press Menu.
|
Stock |
Stock |
 |
The Stock application combines Timers, Networking, Persistent Storage and User Interface dialogs to provide a fully functional application. Stock quotes are fetched from a publicly available website. If you're located behind a firewall, you must first uncomment the line #com.sun.midp.io.http.proxy: webcache:8080 in build/share/lib/internal.config. Then change webcache:8080 to your local web server proxy and port before running the demo. (Note: Config files in build/share/lib/ replace their counterparts in build/platform/lib/ each time MIDP is built.)
|
Photo Album |
Photo Album |
 |
The photo album demo displays a variety of images and animations.
|
|
|
Copyright 2001 Sun Microsystems, Inc., 901 San Antonio
Road, Palo Alto, California 94303, U.S.A. All rights
reserved. This product is distributed under licenses
restricting its use, copying, distribution, and
decompilation. No part of this product may be reproduced
in any form by any means without prior written
authorization of Sun and its licensors, if
any. Third-party software, including font technology, is
copyrighted and licensed from Sun suppliers. Sun, Sun
Microsystems, the Sun Logo, Java, and the Java Coffee Cup
Logo are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other
countries. Federal Acquisitions: Commercial Software --
Government Users Subject to Standard License Terms and
Conditions. DOCUMENTATION IS PROVIDED "AS IS"
AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT
THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.
|