0

How do you navigate from a game canvas to a form in Java ME when you require a user to insert his or her username and password?

gnat
  • 6,213
  • 108
  • 53
  • 73

1 Answers1

1

Create the form and add some "OK" command to it.

To show the form, you have to do the following:

Display.getDisplay(this).setCurrent(yourForm);

When that OK command is used, you should do:

Display.getDisplay(this).setCurrent(yourCanvas);

and read the data from the form

Oleh Prypin
  • 33,184
  • 10
  • 89
  • 99