For a change, I am writing a toy under the phone one old. I wonder how to get the lattice push event? In the bounce game, a cheat code is entered through the keyboard, which means it is real. How?

  • Just like the event of pressing any other key. You do not know how to make a handler or do not know the grid code or what is your problem? - andreymal
  • Both) thanks for responding - Flippy

1 answer 1

You need to catch in the Canvas in the keyPressed() method pressing the KEY_POUND key

An example implementation here

PS I hardly remembered my J2ME youth :)

  • Wow! Thank!! How cool to write for these phones)) Especially when I spent all my childhood in these jarnics - Flippy