Hi, How do I send my activity to background when user presses a key? What should I do in the onKeyDown() event handler? Using finish() will destroy the activity.
public boolean onKeyDown(int keyCode, KeyEvent event) { super.onKeyDown(keyCode, event); // finish(); return true; } Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---