you have to set a one Launcher activity in your manifest. that is
you set it as:
<activity android:name=".Activity1" android:label="@string/appname">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Activity2" android:label="@string/appname">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
you have to put the <category android:name="android.intent.category.DEFAULT" />
instead of <category android:name="android.intent.category.LAUNCHER" />
for your the activity you dont want to launch.