Skip to main content

Using J2ME midlets on different platforms

5 replies [Last post]
digitalsol
Offline
Joined: 2009-10-11
Points: 0

Hello all,

I want to know is it possible to run midlets on blackberry, anroid, windows mobile and iphone for example ?
I think they support MIDP so it should be possible, right ?

Regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
thenewstatesman
Offline
Joined: 2010-02-22
Points: 0

sfitzjava mentioned third party tools for iPhone, I can cite one I tried, and which is free for open source projects : iSpectrum ( http://www.flexycore.com )
It is not J2ME, but Java 1.5 compliant, and provides a java binding for iPhone APIs.
So it is possible to port MIDP applications with a little effort.

digitalsol
Offline
Joined: 2009-10-11
Points: 0

Btw, soon Java FX will be released (if not already), and I guess it'll be a competitor to the mentioned platforms. Maybe many manufacturers will start using midp and J2ME again.

josefg
Offline
Joined: 2006-04-20
Points: 0

Nokia, Samsung and many other brands still use J2ME. So it's still pervasive on the market, even though I agree the latest trend is worrying.
Personally, I hope more for MIDP 3.0 than for Java FX. I also hope the JSRs will relax the security mechanisms that require digital code signing for too many features. (Actually, I think a user should always be allowed to accept an uncertified program, for whatever purpose, if he explicitly wishes to do so).

digitalsol
Offline
Joined: 2009-10-11
Points: 0

I see. Thank you very much, sfitzjava. Your answer will surely help me. :)

Message was edited by: digitalsol

sfitzjava
Offline
Joined: 2003-06-15
Points: 0

Not all of them.

- Blackberry yes, but they also have a native application type that provides better UI features.
- Android No, they do not use the JavaME spec, they have their own and have a special VM not a Java VM because it does not follow the specs.
- WinMo Yes but only via 3rd party JVMs, such as is available from dev.java.net's mobile&embedded project. Not sure which versions of WinMo they can run on. I think you have to have Micro$oft tools (VisualStudio) to actually build it.
- iPhone No java support what-so-ever. Some 3rd party tools (for a price$$) can take javame code and translate to native iphone apps.

Now my .02$, WinMo is dying and thanks to their brilliant t-mobile/sidekick fiasco may have expedited end. We can all hope. :)
One you didn't mention was Palm, of course why would anyone mention them. :) WebOS does not do java, and is a toy browser OS. Should have known when the Folio was announced as their new idea that Palm was out of ideas (good/bad/or other). They have 2 devices and are currently only on the Sprint network in the US, with Verizon, and ATT slated for next year.... assuming they are still in business.
Blackberry has a large market share, but has been hit by iPhone sales. I think iPhone is in 2nd place for Smartphone sales in the US.... and they are only sold on 1 carrier, while BB are sold on all carriers.
Android is making inroads, and just started selling on their second US carrier, Sprint, today. However they are only on the 3 & 4 US carriers and only on a couple of models currently. This should expand to a dozen models in the next 6 months and to all carriers.
iPhone it the gold standard of devices, on the painkiller required standard of carriers (ATT), if they drop exclusivity and open up to another carrier (rumors tend to point to Verizon VZ but who knows) then they should become even more pervasive in the market.

I would focus on these platforms and in this order: iPhone, Android, BB, WinMo
So of the platforms you mentioned only 1 (BB) has JavaME support, and it is not the primary development style they support. Is JavaME dying? Go look for a Job in the JavaME space, as I have found there are none, so I have had to move away from JavaME, and take up BB and iPhone development to stay in the mobile game.

Good luck
-Shawn