Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Palm TX, CustomItem dont generate pointerPressed() event

 
Vinicius Souza
Ranch Hand
Posts: 70
1
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ive created a simple aplication for my touch cell phone and worked perfectly. I used a CustomItem to create a button. But then when I moved my application to my Palm TX using IBM WebSphere Java the event pointerPressed() dont work. There are something that I can do fix this problem?
Thanks in advance!
 
Walter Gabrielsen Iii
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CustomItem is part of MIDP 2.0 and my first thought is to find out what version the Palm TX runs.

Test using the System.getProperty("microedition.profiles") method, also see: What are the defined J2ME system property names?.

If it is midp 1, then turn CustomItem into an ImageItem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic