I'm new to android, Is it possible to control two activities from two packages using instrumentation.
I only know how to control An activity, by 'extends InstrumentationTestCase', defining <instrumentation> in the AndroidManifest.xml, if I use this way to control two different activities from two different packages, it stops at Instrumentation.startActivitySync, says '
throw new RuntimeException("Intent resolved to different package "
+ ai.applicationInfo.packageName + ": "
+ intent); '
Can anyone tell me how to do that, thanks.