Hello
Palyingwith my test app I’ve notcied that quite usually I’m trying to use device’s Back button to returns to previous screen or similar operations. But right now pressing it kicks me out of the app. So I’m wondering - is there any way how I cvan add my custom handling for Back button event? [import]uid: 31161 topic_id: 8499 reply_id: 308499[/import]
I use director class and when I hit my back button I just
code director change scene and type where you want to go
for example if you want to go to main menu then when
you hit back director will take you to main menu.
I explained this assuming you use director class but if
im incorrect then look into Director Class is a great way
to change scenes. [import]uid: 30314 topic_id: 8499 reply_id: 30443[/import]
Hello kurosaki88
No, I’m not using director class - maybe I in the future But I’m really interested in how to handle these device buttons events - is there any way to add my custom handler there (imaging that I need something different from changing scenes etc…)? [import]uid: 31161 topic_id: 8499 reply_id: 30652[/import]
Anyone? [import]uid: 31161 topic_id: 8499 reply_id: 30916[/import]
Hi,
Right now, I do not think there is back button support on Android. Yes, it is an important issue…push for it in the feature request/show stopper section of the forum [import]uid: 12700 topic_id: 8499 reply_id: 31838[/import]