Skip to content

No way to intercept the back button exiting the app #414

Closed
@dzaima

Description

@dzaima

I can't seem to find a way to stop a Processing app from closing on clicking the back button - I'm trying to implement a page/menu system and the back button exiting no matter what is.. annoying.

In an older Processing version, there was onBackPressed, but in this commit, it was commented out. I've tried overriding onDestroy, keyPressed, keyReleased, stop on all the renderers with no success.

Is there a way to do this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions