In Eclipse Trying to create login
<p>Again I am new to programming and trying to make a login screen. I have everything set up Properly according to <a href="http://www.androidhive.info/2011/10/android-login-and-registration-screen-design/" rel="nofollow">http://www.androidhive.info/2011/10/android-login-and-registration-screen-design/</a> Though I have made some personal changes and tried to incorperate it into an app I have already created. But for some reason my R.java is now missing! Any help with the code would be appreciated, keep in mind I am not completely familiar with the programming language... here is my code </p>

<pre><code>&lt;activity android:name="LoginActivity"
              android:label="Login to your Account"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="beats.us.with.LoginActivity" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;

    &lt;!--  Entry for RegisterActivity.class --&gt;
    &lt;activity android:name=".RegisterActivity"
              android:label="Register New Account"&gt;&lt;/activity&gt;
&lt;/application&gt;

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

<p>This is my code from the manifest </p>

<p>This is the code from my LoginActivity</p>

<pre><code>package beats.us.with;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class LoginActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // setting default screen to login.xml
    setContentView(R.layout.login);

    TextView registerScreen = (TextView) findViewById(R.id.link_to_register);

    // Listening to register new account link
    registerScreen.setOnClickListener(new View.OnClickListener() {

        public void onClick(View v) {
            // Switching to Register screen
            Intent i = new Intent(getApplicationContext(), RegisterActivity.class);
            startActivity(i);
        }
    });
}
}
</code></pre>

<p>This is my RegistrationActivity code</p>

<pre><code>package beats.us.with;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class RegisterActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // Set View to register.xml
    setContentView(R.layout.register);

    TextView loginScreen = (TextView) findViewById(R.id.link_to_login);

    // Listening to Login Screen link
    loginScreen.setOnClickListener(new View.OnClickListener() {

        public void onClick(View arg0) {
                            // Closing registration screen
            // Switching to Login Screen/closing register screen
            finish();
        }
    });
}
}
</code></pre>

<p>Am I missing a button to create or whats going on </p>
