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
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
2 matches
Mail list logo