Welcome to Esato.com




Run Java / J2ME / Midlets on your Android device


Click to view updated thread with images




Posted by mr_lou
I just stumbled over Jbed on 4shared.com, which I downloaded and installed on my old HTC Dream.
Been looking for this for a long time, so glad I finally found it.

Now I can run midlets on my Android device, and that's sweet!


Posted by mode
Force stops on my X10. Would be really sweet if it works as I really need it to run a particular midlet Ah well, cheers for the link anyways.

Posted by mr_lou
Well, I'm sure it doesn't run midlets as well as e.g. Sony Ericsson's feature phones. Windows Mobile phones has the same problem. But if the midlet is coded well without requiring special phone-specific API's, then the midlet should run I think.

I must admit though, that I've only tested it with a little eBook midlet I've made, and that one works fine. It even seems to be slightly faster on my HTC Dream than on my Vivaz Pro, and definitely a lot faster than a Nokia 5800.

Posted by mr_lou
You can compare JVM's with Browsers.

The website you visit looks different depending on which browser you're using. Sometimes the website doesn't even work because it uses functionality the browser doesn't support.

It's the same thing with JVM's, which is why a MIDlet sometimes behaves differently on various platforms. The Esmertec Jbed variant is a bit more strict than others. This means, that if the MIDlet isn't coded well, it won't run. Or if he's using specific API's that's not implemented in the JVM.
The developer of the MIDlet never knew this of course, because he only tested on other devices.

Just like a web-developer who only checks his website with IE doesn't get far with Firefox etc. Or the web-developer who codes a HTML5 site for Chrome doesn't get far with IE because it doesn't support HTML5...yet.

Recently I found a bug in my own MIDlet which prevented it from working properly with Jbed on Android. It was clearly a bug, and should be corrected. Nevertheless, my MIDlet runs fine on any other device I've tried despite of this bug.
I imagine there might be future versions of Jbed that are more forgiving.


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum