in emulator menu activity is not displaying
<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.basic.android"
      android:versionCode="1"
      android:versionName="1.0"&gt;
    &lt;uses-sdk android:minSdkVersion="8" /&gt;
    &lt;uses-permission android:name="android.permission.SET_WALLPAPER"&gt;&lt;/uses-permission&gt;
    &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
        &lt;activity android:name=".androidbasics"
                  android:label="@string/app_name"&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;activity android:name=".menu"
                  android:label="@string/app_name"&gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.basic.android.MENU" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
&lt;activity android:name=".DisplayOne"
                  android:label="@string/app_name"&gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.basic.android.DISPLAYONE" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
        &lt;activity android:name=".TutorialTwo"
                  android:label="@string/app_name"&gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.basic.android.TUTORIALTWO" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
                  &lt;activity android:name=".Sweet"
                  android:label="@string/app_name"
                  android:theme="@android:style/Theme.Dialog"

                  &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.basic.android.SWEET" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;

        &lt;activity android:name=".TutorialFour"
                  android:label="@string/app_name"                
                  &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.basic.android.TUTORIALFOUR" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
        &lt;activity android:name=".TutorialThree"
                  android:label="@string/app_name"
                  android:screenOrientation="portrait"
                  &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="com.basic.android.TUTORIALTHREE" /&gt;
                &lt;category android:name="android.intent.category.DEFAULT" /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;


    &lt;/application&gt;
&lt;/manifest&gt;
</code></pre>

<p>main.java</p>

<pre><code>package com.basic.android;

import java.util.Timer;

import java.util.TimerTask;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class androidbasics extends Activity {
    /** Called when the activity is first created. */

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splash);

    }
    public void toCallActivity() {
        TimerTask startNewActivity;
    final Handler handler = new Handler();
    final Timer timer = new Timer();


            startNewActivity = new TimerTask() {

                @Override
                public void run() {
                    // TODO Auto-generated method stub
                    handler.post(new Runnable() {
                        public void run() {

                            try {
                                timer.cancel();
    startActivity(new Intent("com.basic.android.MENU"));

                            } catch (Exception e) {
                                // TODO Auto-generated catch block


                            }

                        }
                    });

                }

            };

            timer.schedule(startNewActivity, 0,5000);

        }
}

menu.java


package com.basic.android;

import android.app.Activity;

import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class menu extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        //Button Sound
        final MediaPlayer buttonSound = MediaPlayer.create(menu.this, R.raw.splash_sound);

        //Setting up the button references
        Button tut1 = (Button) findViewById(R.id.tutorial1);
        Button tut2 = (Button) findViewById(R.id.tutorial2);

        tut1.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                // TODO Auto-generated method stub
                buttonSound.start();
                startActivity(new Intent("com.basic.android.DISPLAYONE"));
            }
        });

        tut2.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                // TODO Auto-generated method stub
                buttonSound.start();
                startActivity(new Intent("com.basic.android.TUTORIALTWO"));
            }
        });

    }

    @Override
    protected void onPause() {
        // TODO Auto-generated method stub
        super.onPause();
    }

    public boolean onCreateOptionsMenu(Menu menu){
        super.onCreateOptionsMenu(menu);
        MenuInflater awesome = getMenuInflater();
        awesome.inflate(R.menu.main_menu, menu);
        return true;
    }

    public boolean onOptionsItemSelected(MenuItem item){
        switch (item.getItemId()){
        case R.id.menuSweet:
            startActivity(new Intent("com.basic.android.SWEET"));
            return true;
        case R.id.menuToast:
            Toast andEggs = Toast.makeText(menu.this, "This is a toast", Toast.LENGTH_LONG);
            andEggs.show();
            return true;
        }

        return false;
    }

}
</code></pre>
