How to go in previous activity with setResult?
===

Kindly check my code. I have to go to parent activity on click of list with setResult.

    list.setOnClickListener(new OnClickListener() {

					@Override
					public void onClick(View arg0) {
						// TODO Auto-generated method stub
						Log.d("gaurav", "list is clicked");
					
						moveToEvent();
					}
				});


My moveToEvent method is : 

    public void moveToEvent() {
		Log.d("gaurav", "Move to evnet");
		Intent intent = new Intent();
		this.setResult(5, intent);
		// this.startActivity(intent);
		this.finish();

	}


Using this code m able to back to parent activity two or three times, After that its simply not move to parent activity and refrsh its own activity. i cant find its solution. Kindly suggest me in that issue. 

I also tried onBackPressed method with that code. it have same result.

    @Override 
	public void onBackPressed() { 
		// TODO Auto-generated method
	   Intent intent = new Intent(); 
	   setResult(5, intent); 
	   finish();
	  
	  super.onBackPressed();
	  }


Kindly suggest me where i am doing mistake.

 