package com.simplenote.android.ui;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

import com.simplenote.android.Constants;

/**
 * Collection of methods to fire Intents
 * @author bryanjswift
 */
public class FireIntent {
	/**
	 * Start the SimpleNoteList Activity
	 * @param context in which the intent is firing
	 */
	public static void SimpleNoteList(final Context context) {
		Intent i = new Intent(context, SimpleNoteList.class);
		context.startActivity(i);
	}
	/**
	 * Start the LoginDialog Activity expecting a result
	 * @param context Activity for which the intent is firing
	 */
	public static void SigninDialog(final Activity context) {
		Intent i = new Intent(context, LoginDialog.class);
		context.startActivityForResult(i, Constants.REQUEST_LOGIN);
	}
}

package com.simplenote.android.ui;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.provider.BaseColumns;

import com.simplenote.android.Constants;
import com.simplenote.android.persistence.SimpleNoteDao;

/**
 * Collection of methods to fire Intents
 * @author bryanjswift
 */
public class FireIntent {
	/**
	 * Start the SimpleNoteList Activity
	 * @param context in which the intent is firing
	 */
	public static void SimpleNoteList(final Context context) {
		Intent i = new Intent(context, SimpleNoteList.class);
		context.startActivity(i);
	}
	/**
	 * Starts the SimpleNoteEdit Activity
	 * @param context in which the intent is firing
	 * @param id of the note to edit
	 * @param originalBody of the note as retrieved from saved state
	 */
	public static void EditNote(final Activity context, final long id, final String originalBody) {
		Intent intent = new Intent(context, SimpleNoteEdit.class);
		intent.putExtra(BaseColumns._ID, id);
		if (originalBody != null) {
			intent.putExtra(SimpleNoteDao.BODY, originalBody);
		}
		context.startActivityForResult(intent, Constants.REQUEST_EDIT);
	}
	/**
	 * Start the LoginDialog Activity expecting a result
	 * @param context Activity for which the intent is firing
	 */
	public static void SigninDialog(final Activity context) {
		Intent i = new Intent(context, LoginDialog.class);
		context.startActivityForResult(i, Constants.REQUEST_LOGIN);
	}
}

Add method to fire the EditNote activity