views:

14

answers:

0

Hi All

I ask again this question and add more info, I simply couldn't find a way to add comment to the guy that answered me (iandisme)

I am quite new to Android and Java I am looking for example of how to use class:

SingleLaunchActivityTestCase

Till now I am using class InstrumentationTestCase but the problem is that for each launched test case Android calling onSetup() and TearDown()

The problem is that class: InstrumentationTestCase doesn't have Activity class in its History chain

Also my application doesn't have a GUI so it is somehow not an activity

in my manifest i have no tag activity so how can I add tag of intent filter ??

What I need it is: create a intent from command line using adb shell am start command and handle it in code

Thanks Ilana