Sounds won't play android
<p>Okay, I know that I've not been the best at accept rate...and I will make up for that...that being said.</p>

<p>I have followed a TON of Splash Screen tutorials and THOUGHT that I had something that would work...however, the sound won't work...and whenever I finish I get the error "cannot be resolved or is not a field"</p>

<p>Any suggestions: here is the COMPLETE SplashScreen.java code:</p>

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

 import android.app.Activity;
 import android.content.Intent;
 import android.media.MediaPlayer;
 import android.os.Bundle;
 import android.view.MotionEvent;
 import android.R;


 public class SplashScreen extends Activity {
protected boolean _active = true;
protected int _splashTime = 5000;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.splash);

    MediaPlayer mpSplash = MediaPlayer.create(this, R.raw.laugh);
    mpSplash.start();

    // thread for displaying the SplashScreen
    Thread splashTread = new Thread() {
        @Override
        public void run() {
            try {
                int waited = 0;
                while(_active &amp;&amp; (waited &lt; _splashTime)) {
                    sleep(100);
                    if(_active) {
                        waited += 100;
                    }
                }
            } catch(InterruptedException e) {
                // do nothing
            } finally {
                finish();
                startActivity(new Intent("com.droidnova.android.splashscreen.MyApp"));
                stop();
            }
        }
    };
    splashTread.start();
}

@Override
public boolean onTouchEvent(MotionEvent event) {
    if (event.getAction() == MotionEvent.ACTION_DOWN) {
        _active = false;
    }
    return true;
     }
}
</code></pre>

<p>Any suggestions?</p>

<p>UPDATE!  </p>

<p>Here's the code for the AndroidManifest.xml film:</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.droidnova.android"
  android:versionCode="1"
  android:versionName="1.0"&gt;
 &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
    &lt;activity android:name=".SplashScreen"
              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=".MyApp"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="com.droidnova.android.splashscreen.MyApp" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
 &lt;/application&gt;
 &lt;uses-sdk android:minSdkVersion="4" /&gt;
 &lt;/manifest&gt;
</code></pre>

<p>There is an error on lines 5 and 6: <br>
Line 5: <code>error: Error: No resource found that matches the given name (at 'label' with value '@string/ app_name').</code><br>
Line 6: <code>error: Error: No resource found that matches the given name (at 'label' with value '@string/ app_name').</code></p>

<p>Added R.java:</p>

<pre><code> /* AUTO-GENERATED FILE.  DO NOT MODIFY.
  *
  * This class was automatically generated by the
  * aapt tool from the resource data it found.  It
  * should not be modified by hand.
  */

 package com.droidnova.android;

 public final class R {
     public static final class attr {
}
public static final class drawable {
    public static final int icon=0x7f020000;
}
public static final class id {
    public static final int textView1=0x7f050000;
}
public static final class layout {
    public static final int main=0x7f030000;
    public static final int splash=0x7f030001;
}
public static final class string {
    public static final int app_name=0x7f040000;
    public static final int main_screen=0x7f040001;
    public static final int splash_screen=0x7f040002;
}
}
</code></pre>
