App just for launching an activity
<p>I'm trying to add a shortcut to launch Sound Recorder on App Drawer (not home screen)</p>

<p>So the app should be empty and the only work it has to do is launch Sound Recorder
com.android.soundrecorder/com.android.soundrecorder.SoundRecorder</p>

<p>How can I do that?</p>

<p>I get Force Stop with this:</p>

<p>`</p>

<pre><code>&lt;uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="15" /&gt;

&lt;application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" &gt;
    &lt;activity
        android:name=".Recorder"
        android:label="@string/title_activity_recorder" &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;/application&gt;
</code></pre>

<p>`</p>

<p>and the java file</p>

<pre><code>`package recorder.audio.dsaif;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;

public class Recorder extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.android.soundrecorder.SoundRecorder");
    startActivity(LaunchIntent);
    setContentView(R.layout.activity_recorder);
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
    getMenuInflater().inflate(R.menu.activity_recorder, menu);
    return true;

}
}`
</code></pre>
