Home » Java » Codename one-hardware Native back button to go previous page

Codename one-hardware Native back button to go previous page

Posted by: admin October 22, 2018 Leave a comment

Questions:

In a Codename one app, how do we establish the back command from the native, the hardware back button on the device, to go back to previous form?
Most androids have a native back button, but when I press it in the app, it does not go in the previous form, it minimizes the app.
I have tried through constants in the .res file, I have not found a relevant option.
(The red underlined button, bottom left in this image)

Added: All forms are created using the new GUI builder.

the red lined

Answers: