The TouchUtils class sounds like it may be useful to you. http://developer.android.com/reference/android/test/TouchUtils.html
On Wed, Sep 16, 2009 at 3:05 AM, Arul Deepak <[email protected]> wrote: > > I am building a test automation suite using Instrumentation. > > I could not find the key definitions for the following actions in > android.view.KeyEvent class: > > -Drag screen to right. > -Drag app tab up. > -Drag status bar down. > -Slide keyboard out. > -Slide keyboard in. > > Is there a method for generating these actions as key events? Is > there any other method of simulating these actions in the program? > > I am using android.test.InstrumentationTestCase.sendKeys(int... keys) > function. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

