If I understand your question well, you should remove the intent filter which is used to tell the launcher, that it should be displayed from your AndroidManifest.xml
. Typically it looks like this:
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>