[android-developers] Re: Back button press programmatically

2009-05-26 Thread sachin
hi I am extending the ActivityInstrumentationTestCase class to test the graphics API. In this case the activity under test is started automatically by the instrumentation class. Some activities run continuously until the press of "BACK" key manually. I want to automate this sending of BACK key.I

[android-developers] Re: Back button press programmatically

2009-05-12 Thread swathi
Hello can anybody tell me how to send an email from android application in emulator. Raja Nagendra Kumar wrote: > Hi, > > Are there api to support go to back Programmatically .. i.e same > effect as the back button of the phone. > > Regards, > Raja Nagendra Kumar, > C.T.O > www.tejasoft.com > >

[android-developers] Re: Back button press programmatically

2009-05-12 Thread Mark Murphy
> Are there api to support go to back Programmatically .. i.e same > effect as the back button of the phone. Calling finish() in your activity has the same general effect as pressing the back button. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Develo

[android-developers] Re: Back button press programmatically

2009-05-12 Thread Marco Nelissen
Just call finish() in your activity? On Tue, May 12, 2009 at 6:35 AM, Raja Nagendra Kumar < nagendra.r...@tejasoft.com> wrote: > > Hi, > > Are there api to support go to back Programmatically .. i.e same > effect as the back button of the phone. > > Regards, > Raja Nagendra Kumar, > C.T.O > www.t