Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Issue with android back button — Gideros Forum

Issue with android back button

Ozkar619Ozkar619 Member
edited December 2012 in General questions
Hi! I hope you can help me with this little problem implementing the back button event.
I want to give the keyDown of the back button of android device an action, but every time i hit it, it just exits the application. I tried with
self:addEventListener(Event.KEY_DOWN, function(event) if (event.keyCode == Keycode.BACK) then
//change scene

and it's not working.
It just exits the application when I hit back.

Do you have any idea of what this could be?

Thanks in advance!


Sign In or Register to comment.