title: ActivityNotFoundException when calling activity of another application
body: <p>I keep getting "ActivityNotFoundException: Unable to find explicit activity class ... " when using Eclipse's emulator to call the activity of another application from an application.  Perhaps the problem maybe related to I am not able to download to/find both applications at the same time when I click on "Manage Applications" in Settings.  This is the first project I need to call the activity of another application.  But I am not sure the code is correct either.  Please help me determine if there are errors in the code snippets I present below.  It is hinted that I can set the action field of the intent to achieve the objective but have not found learning material for this.  I learned about using the setComponent method in the calling app and to add android:export to the called activity's AndroidManifest.xml.  Thanks in advance!  </p>
  
  <p>Calling app's relevant source code:    </p>
  
  <pre><code>Intent intent = new Intent();                
  intent.setComponent(new ComponentName("com.MyPackage", om.MyPackage.Activity1));
  startActivity(intent);
  </code></pre>
  
  <p>Calling app's relevant AndroidManifest.xml : </p>
  
  <pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
      &lt;activity android:name=".MainActivity"
                android:label="@string/app_name"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
      &lt;activity android:name=".Activity1"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.MyPackage.Activity1" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;               
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p>Relevant code of AndroidManifest.xml of the activity of another application </p>
  
  <pre><code>&lt;activity android:name=".Activity1" android:exported = "true"&gt;          
          &lt;intent-filter&gt;
              &lt;action android:name="com.MyPackage.Activity1" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;             
          &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>