u cud use intents, based on the keypress call the appropriate intents and the corresponding finish() for the activities.
On Sun, Jun 28, 2009 at 10:10 PM, ozzoozzo <j2metes...@yahoo.com> wrote: > > I have a virtual keyboard and EditText on the screen and want to do > the following : > 1) If the user hits Cancel, then go back to previous Activity' > 2)If the user hits Enter, it reads the values entered in the EditText > box and launches a new activity based on it. > > How do I do this ? Any suggestions ? Thanks a lot. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---