Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to Control 2 Activites Using Instrumentation

How to Control 2 Activites Using Instrumentation

Put your problem here if it does not fit any of the other categories.

How to Control 2 Activites Using Instrumentation

Postby iqueen » Wed Jun 30, 2010 12:17 pm

Hi guys,
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.

- iqueen
iqueen
Freshman
Freshman
 
Posts: 3
Joined: Tue Dec 09, 2008 6:33 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests