[android-developers] Re: onKeyDown doesn't capture event

2009-05-27 Thread Bullo#88
That should happen automatically, without implementing onKeyDown(). Without implementing onKeyDown the back button will close my application. Thus, I implemented the onKeyDown method. Where? On the activity? On a subclass of one of the widgets? On the activity: from this activity I want

[android-developers] Re: onKeyDown doesn't capture event

2009-05-26 Thread Mark Murphy
I have a proble with onKeyDown: my activity consists in a simple textView (as header) and a ListView below it, I need to go back to the previous screen when the user presses the back button. That should happen automatically, without implementing onKeyDown(). Thus, I implemented the