i know how to cancel back keypress, so that the activity / main window
stays visible:

    public void onBackPressed() {
        return;
    }

my aim is to hide the activity, however, without finishing it, how do
you do that in the onBackPressed event?

i.e. I would like to get as far as onPause(), but not evoke the
onBackPressed() default behaviour that essentially calls finish().
another way to put it is that i would like to mimic
onUserLeaveHint() ?

any help appreciated!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to