super.onCreate(icicle);
setContentView(R.layout.title_editor);
// Get the uri of the note whose title we want to edit
ContentURI uri = getIntent().getData();
// Get a cursor to access the note
mCursor = managedQuery(uri, PROJECTION, null, null);
// Set up click handlers for the text field and button
mText = (EditText) this.findViewById(R.id.title);
mText.setOnClickListener(this);
Button b = (Button) findViewById(R.id.ok);
b.setOnClickListener(this);