In reference with the answer to the link below.
Android : Call activity of another application
I tried it as firstTabSpec.setIndicator("Second Tab Name").setContent(new Intent("com.company.package.FOO"));
but i'm getting a
java.lang.SecurityException: Requesting code from com.company.package (with uid 10036) to be run in process com.example.test (with uid 10037)
Where com.example.test is the package calling the installed package "com.company.package.FOO"
com.company.package Manifest
<activity
android:name="com.company.package.Login"
android:label="@string/app_name"
android:windowSoftInputMode="adjustResize|stateVisible" >
<intent-filter>
<action android:name="com.company.package.FOO" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
com.example.test Manifest
<activity
android:name="com.example.test.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Please let me know if u need more details.
Thanks :)