Hi,

I am reading the source code of ForwardingTest.java. It has this in
the testLilfeCycleCreate() method:

        getInstrumentation().callActivityOnPause(activity);

        // At this point you could confirm that the activity has
paused properly, as if it is
        // no longer the topmost activity on screen.

My question is how can I check what is the topmost activity on the
screen.

Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to