I have activity A in package one, and I want to run an intent which will up an activity B which is in package two.

How can I do this? Any samples will be welcome.

this is what ive done, and the error i get:

first activity ("MainActivity") in a package: com.abelski.currencyclient
and second activity("SecondActivity" in a diffrent package: com.idan.second

now i wanna call from MainActivity to SecondActivity.

ive added this line at the manifest of the MainActivity:

```
 <activity android:name="com.idan.second.SecondApplicationActivity"></activity>

```

now in main Activity i got this button which run this line:

```
Intent intent = new Intent(MainActivity.this,SecondApplicationActivity.class); 

```

and this is the rror:

```
04-29 09:20:59.197: ERROR/AndroidRuntime(399): Uncaught handler: thread main exiting due to uncaught exception
04-29 09:20:59.276: ERROR/AndroidRuntime(399): java.lang.NoClassDefFoundError: com.idan.second.SecondApplicationActivity
04-29 09:20:59.276: ERROR/AndroidRuntime(399):     

```