InstrumentationTestCase and startActivityForResult

by dev » Thu, 06 Aug 2009 23:18:03 GMT


Sponsored Links
 Hi,

Can a InstrumenatationTestCase class call startActivityForResult ? and
have onActivityResult for getting its result.

I tried the same in an Activity , that works.

But from an Instrumentation class I can call only startActivity

I need to get some result from Activity to instrumentation.
How do I go about it?


Any input would be of great help.

Regards,
Dev

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Samples

At least the CameraAPISample.zip is broken.

Unlike every other sample I have tried so far, this one does not
correctly import into ADT-enabled Eclipse.
It does not even get recognized as containing a project at all.

Please Justin could you fix that?;-)

--~--~---------~--~----~------------~-------~--~----~

2. Android base project

Hi all

I am realy a new person to the Android but I have done some coding with
Android SDK. I am going to start my final year of the university this month
and I hope to conduct an Android base project as my final year project. But
obviously I am not a person with brillian ideas. Therefore just let me know
something you think that would be great for a final year project with
respect to the Android.

Cheers

Nishantha

--~--~---------~--~----~------------~-------~--~----~

3. Camera option

4. 0.9 new blank screens and calls to Activity.onResume()

5. logcat issue

6. Open Browser from application with POST data attached.

7. How to achieve dynamic installation in Android system