Search code examples
mobilejava-metouchj2mepolish

j2ME Polish Getting to know if the Device is touch-enabled


my question for today is:

Is there a way for me to detect if a cellphone is touch capable by code on J2ME? Or even J2ME Polish?

Thanks for your replies.


Solution

  • In J2ME MIDP 2 - Canvas.hasPointerEvents() Checks if the platform supports pointer press and release events