title: Can't switch between activities
body: <p>sorry for asking dumb questions, java and Android are both new to me ;)</p>
  
  <p>My problem: I can't switch between two activities in a very simple app. I tried solutions described in similar topics but it didn't work. </p>
  
  <p>So this is my 1st Activity (I didn't paste the imports):  </p>
  
  <pre><code>public class OneActivity extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  }
  
  public void OnStart(){
      Button Btn = (Button)findViewById(R.id.btnNext);     
      Btn.setOnClickListener(new OnClickListener() {
  
          public void onClick(View Button) {
  
      Intent myIntent = new Intent(OneActivity.this, UserInput.class); 
      OneActivity.this.startActivity(myIntent);
  
          } 
  
  });
  }
  </code></pre>
  
  <p>}</p>
  
  <p>The second Activity is very simple - it is just supposed to load a layout called userinput.xml:</p>
  
  <pre><code>public class UserInput extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.userinput);
  </code></pre>
  
  <p>}</p>
  
  <p>}</p>
  
  <p>The application part of the Manifest looks like following: </p>
  
  <pre><code> &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name" &gt;
  
      &lt;activity
          android:name=".OneActivity"
          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 
              android:name=".UserInput" 
              android:label="@string/app_name" /&gt;
  
  
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>When I run the app and click the button <strong>nothing happens.</strong> Where could be the problem?</p>
  
  <p>// Alright, I have put the code into the onCreate() method so it now looks like following:</p>
  
  <pre><code>public class OneActivity extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      Button Btn = (Button)findViewById(R.id.btnNext);     
      Btn.setOnClickListener(new OnClickListener() {
  
          public void onClick(View Button) {
  
      Intent myIntent = new Intent(OneActivity.this, UserInput.class); 
      OneActivity.this.startActivity(myIntent);
  
          } 
  
  });
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Now the app crashes (force close) anytime I click the Next button. </p>