what is it my code problem ?
package com.basic.android;

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

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);

        Thread logoTimer = new Thread(){
            public void run(){
                try{
                    int logoTimer=0;
                    while(logoTimer<5000){
                    sleep(500);
                    logoTimer = logoTimer +100;
                    }

                startActivity(new Intent("com.basic.android.MENU"));    
            }catch (InterruptedException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }finally{
                finish();
                        }
            }        
        };
        logoTimer.start();
    }


    @Override
    protected void onDestroy() {
        // TODO Auto-generated method stub
        super.onDestroy();
    }
}
what is it my code problem ?
===

package com.basic.android;

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

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);

        Thread logoTimer = new Thread(){
            public void run(){
                try{
                    int logoTimer=0;
                    while(logoTimer<5000){
                    sleep(500);
                    logoTimer = logoTimer +100;
                    }

                startActivity(new Intent("com.basic.android.MENU"));    
            }catch (InterruptedException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }finally{
                finish();
                        }
            }        
        };
        logoTimer.start();
    }


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