Thursday, January 14, 2010

MicroEmulator 2.0.4 has been released

New MicroEmulator version has been just released. This is mostly a bug fix release, all users of older versions are encouraged to perform an update. Here is a direct link to download MicroEmulator 2.0.4

Most of new features development is happening in our development branch since beginning of 2009. Those features are supposed to be released in 3.0 version. More information about that will be published soon. Stay tuned.


Jonathan Barbero said...

I didn´t find the changelog.

Bartek Teodorczyk said...


Here is a link for the changelog:

FleXoR said...

Very nice work!
But with 3D games more troubles.. =(

Vu said...

not nice work, with media!
game with sound, don't run.

Bartek Teodorczyk said...


If you are interested fixing your multimedia playback problem, write some more details on: or file a bug:

shosho said...

How can I download files in opera min by microEmulator.


HAISTAR said...

I'm from Indonesia
I thank

tropanxtig said...

Hi Bartek,

I come upon micro emulator while doing some research on running our j2me applet in a browser.

I have a question on creating http connection.
It was mentioned in
that "By default the applet will only communicate with the host the applet came from (your website)"

Do you mean that if the midlet will communicate with the "host", then i dont need my midlet to be sign?

Declaring something like:

Please shed me my some light.

Will be checking your blog regularly. Hope to hear from you.


khalif said...

Hi All,

I tried to convert the sample UIDemo project comes with Sun Wireless toolkit by changing the below properties in the build.xml

Also changed the jar path to UIDemo.jar and finally was able to compile and got the UIDemo.apk in Bin folder of microemulator-2.0.4\microemu-android\bin , But when I installed this apk in Android Emulator and Device and tried to run the application.
It did not run and it displayed the Title for some time and then nothing happend and blank UI got displayed. I tried the same steps with Games sample also. What could be the reason ?.

Bartek Teodorczyk said...


There should be more information in the emulator logs. What's a error on the logcat console?

khalif said...

Dear Bartek,

Thanks for the immediate response. I have logs with me , How can I attach this file ?.

Please see part of log below.
/InputManagerService( 57): Starting input on non-focused client$Stub$Proxy@43d3cc68 (uid=10027 pid=213)

W/ActivityManager( 57): Activity idle timeout for HistoryRecord{43c4a168}

D/dalvikvm( 213): GC freed 13700 objects / 512112 bytes in 224ms

I/ActivityManager( 57): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=example.pushpuzzle.PushPuzzle/ }

I/ActivityManager( 57): Start proc example.pushpuzzle.PushPuzzle for activity example.pushpuzzle.PushPuzzle/ pid=225 uid=10026 gids={3003, 1015}

D/ddm-heap( 225): Got feature list request

V/MicroEmulator( 225): implementation registered [org.microemu.cldc.file.FileSystem]

V/MicroEmulator( 225):

V/MicroEmulator( 225): error Message: Error: Unable to find MIDlet class, java.lang.ClassNotFoundException: example.pushpuzzle.PushPuzzle in loader dalvik.system.PathClassLoader@43d01a20 java.lang.ClassNotFoundException: example.pushpuzzle.PushPuzzle in loader dalvik.system.PathClassLoader@43d01a20

V/MicroEmulator( 225):

V/MicroEmulator( 225): java.lang.ClassNotFoundException: example.pushpuzzle.PushPuzzle in loader dalvik.system.PathClassLoader@43d01a20

V/MicroEmulator( 225): at dalvik.system.PathClassLoader.findClass(

V/MicroEmulator( 225): at java.lang.ClassLoader.loadClass(

V/MicroEmulator( 225): at java.lang.ClassLoader.loadClass(

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at$2200(

V/MicroEmulator( 225): at$H.handleMessage(

V/MicroEmulator( 225): at android.os.Handler.dispatchMessage(

V/MicroEmulator( 225): at android.os.Looper.loop(

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at java.lang.reflect.Method.invokeNative(Native Method)

V/MicroEmulator( 225): at java.lang.reflect.Method.invoke(

V/MicroEmulator( 225): at$

V/MicroEmulator( 225): at

V/MicroEmulator( 225): at dalvik.system.NativeStart.main(Native Method)

I/ActivityManager( 57): Displayed activity example.pushpuzzle.PushPuzzle/ 2175 ms (total 2175 ms)

It says unable to fine midlet class.

Bartek Teodorczyk said...


As you can see in logs, the problem is missing example.pushpuzzle.PushPuzzle class.

The group forum can be a better place to continue this discussion:

Bartek Teodorczyk said...


That's exactly true. If your applet is contacting with the same server that was downladed from, then your applet doesn't have to be signed.

DFH said...

I tried it with a Go Bible app.
After selecting Go Bible Menu| Preferences | Full Screen : On, MicroEmulator could not get back from Full Screen mode.

tropanxtig said...

Hi Bartek,

with regards to my question above i have added the tag below:

param name="URL" value=""

to the html file. But i still cannot connect by http.

By adding this tag on the html does the emulator automatically know that the applet is downloaded from here and all connection here should be permitted?

Any other info i need to add. my application is unsigned and needs to connect to http. as u mentioned since i will be connecting to my "home server" i wont' be needing the signing.

Please help


tropanxtig said...

Hi Guys,

still cannot get my http connection to work

see above post

any help will be appreciated.


Bartek Teodorczyk said...


Issue database is the best place to report such a problem:

Bartek Teodorczyk said...


You have to manually specify the correct url inside the MIDlet code. Or you can use the trick explained in the last section on the page:

tropanxtig said...

RE: connecting by HTTP

i did the following to no avail:
1. add
param name="" value=""
to the HTML file

2. add

to the MANIFEST and JAD file

still i cannot get it to connect to my http server

Please help badly needed

Bartek Teodorczyk said...


You have to do the different thing. In your MIDlet, you have to call MIDlet.getAppProperty("") and then use that URL to connect to the server.

tropanxtig said...

I did declare the url from varied location(jad, manifest and the html file), all does not seem to work.I have used the following:

(1) code in MIDLET:
String myurl=midlet.getAppProperty("url");

connection = (HttpConnection);

add this line in my html file
param name="url" value=""

OPTION 2) code in MIDLET:

connection = (HttpConnection)";

Add this line in mmy html file :
param name="" value=""

both these scenario still throws a security exception error.

badly need help guys. thanks


tropanxtig said...

im doomed. this may be the simplest question. i need help


bibhu said...

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful and beneficial to your readers.

Toni said...

boltbrowser have problems with fonts in microemulator 2.0.4

Namit Rana said...


I have an application which works very fine on microemulator.

Then i convert it to .apk file and it works fine on android emulator as well.

But it does not work on my htc ouch mobile and gives a message "the app. has stopped working,force close".

Please help me solving my problem. What should i do?

DenmasFeriyanto said...

MicroEMuLator can't Copy text on Opera Mini .. . why ??? and many problem in the text box when I input text .. .

Eagerbvr said...

Hi has anyone had any experience getting JSR226 (SVG) running on the emulator??



Bartek Teodorczyk said...


I'm afraid there is no support at all for JSR226 (SVG) in MicroEmulator.

Christ The Last Hope said...

I cant download this application and java on my at&t samsung phone A837. Pls help me out

Christ The Last Hope said...

I need help on java download and installation

Bartek Teodorczyk said...

Christ The Last Hope,

It is not possible to run MicroEmulator on your phone. You can run Java ME midlets on your PC using MicroEmulator.

and_roid® said...

I do a hopefuly only one...
Download feature of Operamini in microemulator the next version/release bro!

Hari Djaya said...

Hi dear Bartek, how my Operamini jar can download a file from this MicroEmulator, u need your help

Andy Online said...

@Bartek: good project, thanks for sharing..

magicmumy said...

D/InputReader(18881): AP_PROF:AppLaunch_dispatchPtr:Up:113245990
V/MicroEmulator(23536): java.lang.ClassNotFoundException: org.microemu.cldc.sms.Connection
V/MicroEmulator(23536): at java.lang.Class.classForName(Native Method)
V/MicroEmulator(23536): at java.lang.Class.forName(
V/MicroEmulator(23536): at java.lang.Class.forName(
V/MicroEmulator(23536): at
V/MicroEmulator(23536): at$200(
V/MicroEmulator(23536): at$
V/MicroEmulator(23536): at
V/MicroEmulator(23536): at
V/MicroEmulator(23536): at
V/MicroEmulator(23536): at
V/MicroEmulator(23536): at Source)
V/MicroEmulator(23536): at

Bartek Teodorczyk said...


Most likely you need to include the lib/microemu-jsr-120.jar into your classpath.

bilopo said...

hi Bartek Teodorczyk, thanks for sharing MicroEmu .. OperaMini perfectly runs on it but unable to perform downloads .. i can use the same JAR in my NOKIA and make downloads .. will there be any releases that this function will be available?

Bartek Teodorczyk said...


Here you find more details how to enable downloads:

F said...

Microemulator's guys ! As an user, i think that Copy&paste "to" and "from" OS clipboard could make a lot o things easer. As a non-US user, i think that "support for abnt2 keyboard" may be useful, too. Because "operamini/microemulator" isn't good enought to "email", for example. Then, in general, i use it for just browse. And to email, i use "OperaMobile for Deskop". But i love operamini inside microemulator. It is just so free of lags, etc. Good work.

p3m4la5 said...

I am try opera mini 7, its work..

but how to copy paste from/to clipboard or something like notepad

Anonymous said...

Incredible!!! Thank You!!! Opera Mini 7.1 worked on this emulator.... It was an alternative way besides using KEmulator.... KEMulator doesn't work on my windows 7.. Keep up this good work... And I hope there
will be update for java games like Gameloft in the future.. :)

Alan Bazan said...

Ctrl+c in notepad
Ctrl+v in microemulator text field

Seun Adesanya said...

Nice work here, but this is funny because it doesn't run any app on my system anymore, even with the new version of java installed on my computer.

GDR! said...

Thanks, dude. I have just found a CD-ROM with a J2ME game I wrote as a teenager. The emulators I've found on that CD were Windows-only and I don't have a Windows box. Your emulator saved the day and I could show my spouse my first commercially released game!

Jan Kleks said...

Recently a new multi-platform open-source J2ME emulator called freej2me has been released --

Maybe you could share your experience with them? :)

I will also leave this link here to the very important J2ME preservation discussion (to inspire you):