Java (ME) on Windows Mobile

后端 未结 3 1965
耶瑟儿~
耶瑟儿~ 2020-12-20 10:43

Does anyone have experience deploying Java ME apps to Windows Mobile? What are the high-level steps to getting started with this, and are there any major drawbacks?

相关标签:
3条回答
  • 2020-12-20 10:49

    Just beginning with the Samsung i900. FileConnection seems all bad with no obvious access to the internal hard drive or the memory card. Worried about the Applix jBlend base port.

    I hope others have a better experience of java on windows mobile.

    0 讨论(0)
  • 2020-12-20 11:00

    Well at first you need to install a JVM on your device (if one isn't already installed). There are currently two players for this:

    • NSI Creme. This is a robust product but it only supports CDC profile (no MIDlets) and you need to buy a license for at least 1000 devices or so.
    • IBM J9. This has CLCD support and can run MIDlets. There is a demo version, but I wasn't able to find a download link. May be IBM has stopped supporting it.

    Some devices have a JVM pre-installed, but it is difficult to rely on certain profiles being present. Unless you are targeting a single device, I would say that is better to avoid J2ME for Windows Mobile.

    0 讨论(0)
  • 2020-12-20 11:07

    kgiannakakis is right with the JavaVM that needs to be installed on Windows Mobile devices, but this only counts for older devices. Windows Mobile 5 and 6 come with a pre-installed Microsoft Java VM which works. Basically.

    You can actually just compile your J2ME application to a jar file, copy it on your Windows Mobile device and start it. That's pretty much it.

    As with all generic JavaME VM's you will not be able to access internal API's / hardware which is not accessible from within the standard CLDC/MIDP libraries the JavaVM you are using, supports.

    0 讨论(0)
提交回复
热议问题