Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MIDP on Palm Zire 31

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a Zire 31 yesterday and today I installed the MIDP 1.0 VM on it with no problems. I also installed a few demo apps and I would like to do some programming for it.

However, I noticed that my up/down/left/right controls, only the up and down work. The left and right don't do anyting. But only in the Java programs. Everywhere else on the OS they all work fine.

I am running Palm OS v. 5.2.8. I am wondering if I have the correct VM or if I need to grab something different that I need?

Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is MIDP 1.0 the one I want. I can't find a 2.0 VM to download like I did the 1.0 version.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you download the IBM VM from Palm? I am not sure what you meant by "the left and right controls do not work". They should work.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Yuan:
Did you download the IBM VM from Palm? I am not sure what you meant by "the left and right controls do not work". They should work.


No, I downloaded the one from Sun. Silly me. Well, with's Sun's 1.0 VM, they don't work. I push left, the little snake doesn't move left.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a link for that download, BTW?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just checked the requirements for the IBM VM and Zire 31 is not on the list. I am not sure whether it would work. It also costs $6 for non-Tungsten devices.

http://www.palmone.com/us/support/jvm/

The Sun VM is only intended to be a "reference implementation". The IBM VM is definitely better quality and more feature rich (it supports MIDP 2.0 and a number of IBM's own "enterprise" packages).

Do you have a cell phone? Most new wireless plans offer free J2ME phones as sign-up incentives. That would be a much better device to play with J2ME.

Palm made a strategic mistake (IMHO) in 2001 to drag feet on various key J2ME specs and support their proprietary C API instead of Java on their devices. That has cost them dearly in terms of both developer support and market share. In the future, I do not think they stand a chance against the .Net powered windows mobile devices and Java powered Symbian devices.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic