For the listview part, I found it. I used performItemClick.
But for generating keystrokes, nothing seems to work. I tried using
onKeyDown and onKeyUp, but it just doesn't do anything (and I need to
generate the key strokes from the application).
The only thing that seemed to have a result is
Test code should use Instrumentation, which allows you to inject your code
into the application and control it through the methods there.
On Fri, Jul 3, 2009 at 12:59 PM, Mathieu Plourde mat.plou...@gmail.comwrote:
For the listview part, I found it. I used performItemClick.
But for
Mathieu Plourde wrote:
1. How do you programmatically generate key strokes? I found some
tutorials where it says to use IWindowManager, but that doesn't exist
anymore in 1.5. (And WindowManager doesn't provide any function to
generate key strokes)
For your own activity, you could try
3 matches
Mail list logo