Esato

Forum > Sony Ericsson / Sony > Android > Run Java / J2ME / Midlets on your Android device

Author Run Java / J2ME / Midlets on your Android device
mr_lou
T68i mineral
Joined: Nov 14, 2002
Posts: 403
From: Denmark
PM, WWW
Posted: 2010-11-22 18:10
Reply with quoteEdit/Delete This PostPrint this post
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!
mode
Sony Xperia Z1
Joined: Jan 12, 2007
Posts: > 500
PM
Posted: 2010-11-23 00:18
Reply with quoteEdit/Delete This PostPrint this post
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.
Ericsson EH97, GA628, GF768, A2618s, T29s Sony Ericsson T68i, S700i, P990i, Z558i, W902, W995, X10, Arc S
*Xperia V*White*Black MW600*Sandisk Mobile Ultra 64GB microSDXC*
mr_lou
T68i mineral
Joined: Nov 14, 2002
Posts: 403
From: Denmark
PM, WWW
Posted: 2010-11-23 07:22
Reply with quoteEdit/Delete This PostPrint this post
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.
mr_lou
T68i mineral
Joined: Nov 14, 2002
Posts: 403
From: Denmark
PM, WWW
Posted: 2010-11-24 12:22
Reply with quoteEdit/Delete This PostPrint this post
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.
Access the forum with a mobile phone via esato.mobi