Unable to start activity from the different package [Android]
<p>I have two different activities in two packages as following:</p>

<ol>
<li>com.my.application.MyActivity1  </li>
<li>com.my.application.Test.MyActivity2  </li>
</ol>

<p>In my manifest file i have<br>
 <code>package="com.my.application"</code><br>
and bothe the activities are in the same <code>application</code> tag.</p>

<p>I am starting MyActivity1 from within .Test.MyActivity2 using:  </p>

<pre><code>Intent intent = new Intent(getApplicationContext(), MyActivity1.class);
startActivity(intent);
</code></pre>

<p>I get following logs in log cat while starting the application:  </p>

<pre><code>I/ActivityManager( 1305): Starting: Intent { cmp=com.my.application/.MyActivity1 } from pid 2336
D/dalvikvm( 1886): GC_EXTERNAL_ALLOC freed 133K, 51% free 2687K/5447K, external 1527K/1559K, paused 56ms
D/dalvikvm( 1886): GC_EXTERNAL_ALLOC freed 12K, 51% free 2675K/5447K, external 9796K/11844K, paused 40ms
D/AndroidRuntime( 1886): Shutting down VM
W/dalvikvm( 1886): threadid=1: thread exiting with uncaught exception (group=0x2018d560)
I/ActivityManager( 1305): Process com.my.application (pid 2336) has died.
</code></pre>

<p>After call to <code>startActivity</code> function my application segments/crashes and i am not able to see the MyActivity2 launched/started.</p>

<p>So is it not possible to start activity from within the different packages in android.   </p>

<p>Thanks,<br>
PP.</p>
