Activity not starting up

view full story

http://stackoverflow.com – I am trying to start an activity from other one(MainAcitivty) but this is not working it stops immediately whenever i click the button. code for MainActivity.java: package com.example.notepad2; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; public class MainActivity extends Activity implements OnClickListener { EditText title,body; Button btn,getnotes; No (HowTos)