MicroEmulator

http://www.microemu.org/
MicroEmulator is a pure Java implementation of J2ME in J2SE. MicroEmulator is licensed under LGPL so it is possible to link and distribute commercial software with its libraries.
Key usage examples
- Application demonstration in web browser applet
- Webstart demonstration
- Faster development of application in Eclipse
- Using standard java profiling tools to tune your application
- Creation of unit tests for J2ME application that runs during build process
- Development support for platforms where no emulator is available.
Features
- Support for MIDP 2.0
- Generic Connection Framework
- Support for MMAPI (JSR 135)
- Support for Nokia APIs
- Support for Siemens APIs
- Skinnable and configurable interface
- Works with different graphics libraries; currently with Swing and SWT
- Platform independent: Windows, Linux, OSX
Support for JSRs in development environment using additional libraries
- Bluetooth APIs for Java (JSR 82) using avetana JSR-82 implementation or BlueCove on windows
- Location API for J2ME (JSR 179) using OpenLAPI openlapi.com
Skins
MicroEmulator comes with three differend Skins:
- Default 176x220 Full Screen and 176x176 Normal Canvas, Skin 226x471.
- Minimum 128x128 Full Screen and 128x96 Normal Canvas, Skin 157x285.
- Large 240x320 Full Screen and 240x266 Normal Canvas, Skin 292x618.
Requirements
- Java 2 SE 1.3+
Acknowledgements
- YourKit Java Profiler
Projects using MicroEmulator
Application demonstration in web browser applet
Your application should run without any changes inside applet.
* Keep it in mind that if your j2me application requires HTTP access the applet must be signed. By default the applet will only communicate with the host the applet came from (your website).
* Applet do not allow calls to System.getProperty();
Embedding applet into html page
MicroEmulator comes with three differend Skins:
* Default 176x220 Full Screen and 176x176 Normal Canvas, Skin 226x471.
* Minimum 128x128 Full Screen and 128x96 Normal Canvas, Skin 157x285. minimum.jar
* Large 240x320 Full Screen and 240x266 Normal Canvas, Skin 292x618. large.jar
Html fragment example for Default device:
width=226 height=471 archive="me-applet.jar,(MIDlet application jar)">
* To support Nokia UI nokiaui.jar should be included in the archive attribute.
* To support Siemens API siemensapi.jar should be included in the archive attribute.
There is additional parameter in the applet definition tag if you want to start the applet with device other than the default one:
* Minimum phone included in distribution is org/microemu/device/minimum/device.xml
* Minimum phone with mouse and color is org/microemu/device/minimum/device-color.xml
* Large phone is org/microemu/device/large/device.xml
Remember to include the new device jar into the applet archive tag
* minimum phone included in distribution is packaged inside minimum.jar
* large phone included in distribution is packaged inside large.jar
Example for SimpleDemo MIDlet, Nokia UI support and Minimum device:
width=157 height=285 archive="me-applet.jar,nokiaui.jar,minimum.jar,simpledemo.jar">
Example for SimpleDemo MIDlet and Minimum device with mouse and color:
width=157 height=285 archive="me-applet.jar,minimum.jar,simpledemo.jar">
Example for SimpleDemo MIDlet and Large Skin:
width=292 height=618 archive="me-applet.jar,large.jar,simpledemo.jar">