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?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Any way to handle device's "Back" button ?
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.
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...)?
Anyone?
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 :)
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
CPM 2.5.1 - Did the new regex expression make it in?
Testing for game in Android market
To Ansca: Educational Pricing Questions
Bug? Why is alpha=0 same with isVisible=false
Should I Refactor
Parameters in analytics.logEvent
Runtime Listener Question
Star Galaxy now available on iTunes
New space-themed game: - Galaxy Hop - on the App Store. PROMO CODES!