Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

J2ME and Touch Screen Devices  RSS feed

 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Afew years ago we had developed some midlets for “non-touch screen” devices. Will these midlets work fine on touch screen devices?

Regards,
Danish

 
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the features of your MIDlets. The only way to know for sure is to test. One that won't work consistently is CustomItems that depend on the direction keys for navigation. All touch screen devices aren't the same either. Some have direction (arrow) keys and a Fire key, others don't.
 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Darryl!

One more question: I don't think J2ME provides APIs for touch screen programming... I don't think there is any way of listening to touch screen events etc. Am I right?

Regards,
Danish
 
Bartender
Posts: 19731
92
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of times, touch events are treated as mouse events, but it varies. A true touch API is obviously preferable if you want to take advantage of features unique to touch interfaces.

Check the Java JSR list. There may be a JSR for touchscreen input. In that case, you can shop for a device that implements it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!