title: Error showing "unfortunatey the app has stopped working" in Android
body: <p>i am trying to make an app in android but when m trying to run the app in my mobile phone, whenever i click on the button it says "unfortunately the app has stopped working", here is my code, can anybody tell me what m u doing wrong here</p>
  
  <pre><code>import android.support.v7.app.ActionBarActivity;
  import android.os.Bundle;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.Button;
  import android.widget.EditText;
  
  
  public class MainActivity extends ActionBarActivity {
  
  EditText titleEditText;
  EditText noteEditText;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      final Button saveButton = (Button)findViewById(R.id.button);
      saveButton.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
  
              titleEditText = (EditText)findViewById(R.id.title);
  
              noteEditText = (EditText)findViewById(R.id.Note);
              titleEditText.setEnabled(false);
              noteEditText.setEnabled(false);
          //saveButton.setText("Clicked!");
          }
      });
  }
  </code></pre>
  
  <p>`</p>