In the first application you will need to change AndroidManifest.xml. In particular, you are about to add a custom actionin intent-filterfor the action that you want to run somewhere:
<activity android:name="FirstApp">
<intent-filter>
<action android:name="com.example.foo.bar.YOUR_ACTION" />
</intent-filter>
</activity>
Then in your second application, you use this action to trigger an activity:
startActivity(new Intent("com.example.foo.bar.YOUR_ACTION"));
As for your comments:
, "android.intent.action.MAIN" Eclipse
, , ... :
<activity android:name="FirstApp">
<intent-filter>
<action android:name="com.example.foo.bar.YOUR_ACTION" />
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>