private Button.OnClickListener goFirstPage = new Button.OnClickListener() {
public void onClick(View v) { try {
Intent i = new Intent(v.getContext(), quizMath.class); startActivityForResult(i, 0);
} catch (Exception e) { e.printStackTrace(); // TODO: handle exception }
} }; hi, this is my code, but the problem is that i want to call a function from class quizmath.So is it possible or not?. can we pass integer or string from startActivityForResult?