BehaviorDelegate onkeypressed issue

Former Member
Former Member
Hi,
I'm trying to port my app designed for touch screen to other devices with button but i'm stuck.

I've been having issues with onkeypressed function from delegate BehaviorDelegate.

I have a condition like
if( keyEvent.getKey().equals( Ui.KEY_DOWN ))

but every time the application exits (no matter i return true or false)
in the console i have just a "Complete"

Any idea ?

thanks!