processing / processing-android-archive

96 stars 50 forks source link

pulling out special-case checking for BACK key #52

Closed joshgiesbrecht closed 11 years ago

joshgiesbrecht commented 11 years ago

and just handling it through onBackPressed() instead.

So a user who wants to avoid having the app end with the back button can just override onBackPressed() and do whatever they want to do instead.

Note: submitting an alternate pull request that repairs the originally documented usage of changing keyCode within onKeyPressed(). Probably want to accept one of these and reject the other.