Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Palm TX, CustomItem dont generate pointerPressed() event  RSS feed

 
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!
 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!