第一个activit
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if(requestCode==0x01){
finish();
}
}
第二个activity
@Override
public void onSucceeded(VacationWrap result, long seq) {
vacationBack = result;