title: android eclipse splash screen image not showing
body: <p>i created a splash screen but when i launch my app the splash screen does not show, just a black screen. however, after my timer for the splash screen ends, my menu comes up. in the graphical layout of my splashscreen.xml, the splash screen image show. but when run, it does not. all is normal except for my splash screen...</p>
  
  <p>code for myMain.java:</p>
  
  <pre><code>package com.immrroj.firstapp;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  
  public class myMain extends Activity
  {
  
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.splashscreen);
      Thread splashtimer = new Thread()
      {
          @Override
          public void run()
          {
              try
              {
                  int timer = 0;
                  while (timer &lt; 5000)
                  {
                      sleep(100);
                      timer = timer + 100;
                  }
                  startActivity(new Intent("com.immrroj.firstapp.CLEARSCREEN"));
              } catch (InterruptedException e)
              {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
  
              finally
              {
                  finish();
              }
          }
      };
      splashtimer.run();
  }
  
  @Override
  protected void onDestroy()
  {
      // TODO Auto-generated method stub
      super.onDestroy();
  }
  
  @Override
  protected void onResume()
  {
      // TODO Auto-generated method stub
      super.onResume();
  }
  
  @Override
  protected void onStart()
  {
      // TODO Auto-generated method stub
      super.onStart();
  }
  
  @Override
  protected void onStop()
  {
      // TODO Auto-generated method stub
      super.onStop();
  }
  
  }
  </code></pre>
  
  <p>code for myMenu.java</p>
  
  <pre><code>package com.immrroj.firstapp;
  
  import android.app.Activity;
  import android.os.Bundle;
  
  public class myMenu extends Activity
  {
  
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  }
  
  }
  </code></pre>
  
  <p>code for my main.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical" 
  android:background="@drawable/mymenu"&gt;
  
  &lt;Button
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="PRESS ME!!"
      android:textSize="19dp"
      android:textStyle="bold"
      android:width="200dp" android:layout_gravity="right"/&gt;
  
   &lt;Button
       android:id="@+id/button1"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:text="PRESS ME TOO!" 
       android:gravity="center" 
       android:textSize="19dp" 
       android:textStyle="bold" android:width="200dp" android:layout_gravity="right"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>code for my splashscreen.xml.... the image androidsplash is not showing</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical" &gt;
  
  &lt;ImageView
      android:src="@drawable/androidsplash"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" 
      /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>code for my android manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.immrroj.firstapp"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk android:minSdkVersion="10" /&gt;
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name" &gt;
      &lt;activity
          android:label="@string/app_name"
          android:name=".myMain" &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:label="@string/app_name"
          android:name=".myMenu" &gt;
          &lt;intent-filter &gt;
              &lt;action android:name="com.immrroj.firstapp.CLEARSCREEN" /&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>please help..although i can continue, it is really bugging me....</p>
  
  <p>UPDATE:
  okay... i think its really hard to fix this without having hands on the code... so im posting this link so  anybody can see the codes and tinker it... please help me... i wnat to learn android but im stuck in here.... download source code here, it's safe i swear: <a href="https://skydrive.live.com/redir.aspx?cid=79ecba5b079a1b4c&amp;resid=79ECBA5B079A1B4C!293&amp;parid=79ECBA5B079A1B4C!113&amp;authkey=!AK8-cta_tThQUms" rel="nofollow">https://skydrive.live.com/redir.aspx?cid=79ecba5b079a1b4c&amp;resid=79ECBA5B079A1B4C!293&amp;parid=79ECBA5B079A1B4C!113&amp;authkey=!AK8-cta_tThQUms</a></p>