@Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (requestCode == 2 && data != null) {
     boolean flag = data.getBooleanExtra("flag", false);
     if (flag) {
       Intent intent = new Intent();
       intent.putExtra("flag", flag);
       setResult(1, intent);
       finish();
       Utils.rightOut(this);
     } else {
       String cirName = data.getStringExtra("circleName");
       String circleDescriptionStr = data.getStringExtra("circleDescription");
       Bitmap bmp = data.getParcelableExtra("cirBmp");
       if (bmp != null) {
         circleLogo.setImageBitmap(bmp);
       }
       circleName.setText(cirName);
       titleName.setText(cirName);
       circleDescription.setText(circleDescriptionStr);
       Intent intent = new Intent();
       intent.setAction(Constants.UPDECIRNAME);
       intent.putExtra("cirName", cirName);
       intent.putExtra("cid", cid);
       BroadCast.sendBroadCast(this, intent);
     }
   }
 }
 private void exitSuccess() {
   // Home.exitCircle(cid);
   Intent acIntent = new Intent();
   acIntent.setAction(Constants.EXIT_CIRCLE);
   acIntent.putExtra("cid", cid);
   BroadCast.sendBroadCast(this, acIntent);
   Intent intent = new Intent();
   intent.putExtra("flag", true);
   setResult(1, intent);
   finish();
   Utils.rightOut(this);
 }