Lorenz wrote: > Ok Mark thanks, but I noticed that when I press "esc"(in my > development machine) from the emulator the application that it is > runnig is killed and the control returns in the home screen, so is > there a way to link some actions with the botton "esc" without call > finish()??.
1. Most users do not have a PC with an emulator in their pocket. They have phones. Android phones do not have <Esc> keys. Optimize for the user, not the emulator. 2. The <Esc> key apepars to do the same thing as the emulator's on-screen back button...which effectively calls finish(). So, call finish(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

