On Tue, Feb 3, 2009 at 5:22 PM, Meryl Silverburgh <
silverburgh.me...@gmail.com> wrote:

> When you mean 'main' thread, does that mean the thread create by the
> android.test.InstrumentationTestRunner when running my TestCase?


No, the test case runs in a separate thread, so the main application thread
is free to run.  There is an API you can call to have work done on the main
thread.


> Thank you. Can you please tell me where I can find an example of "can
> add an activity watcher to look for the launch, cancel it, and return
> the desired result"? I did try google it, but I don't see the anything
> useful.


Look at the docs on Instrumentation, there are methods and such for this.
Sorry I don't have any specific example code handy, maybe someone else can
help.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to