@Override
 public void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
   setContentView(R.layout.order_touzhu);
   ApplicationAddview app = (ApplicationAddview) getApplicationContext();
   betAndGift = app.getPojo();
   addviewmiss = app.getAddviewmiss();
   init();
 }
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   if (isclearaddview) {
     if (addview != null) {
       addview.clearInfo();
       addview.updateTextNum();
     }
   }
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   requestWindowFeature(Window.FEATURE_NO_TITLE);
   setContentView(R.layout.order_hemai);
   context = this;
   ApplicationAddview app = (ApplicationAddview) getApplicationContext();
   betAndGift = app.getPojo();
   addview = app.getAddview();
   if (Constants.type.equals("zc")) {
     allAtm = Integer.valueOf(betAndGift.getAmount()) / 100;
     //			mAmount = Integer.valueOf(betAndGift.getAmount());
     mZhushu = Integer.valueOf(betAndGift.getZhushu());
   } else {
     allAtm = iProgressQishu * addview.getAllAmt() * iProgressBeishu;
   }
   init();
   initRadioGroup();
 }
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   clearProgress();
 }
 @Override
 protected void onResume() {
   // TODO Auto-generated method stub
   super.onResume();
   MobclickAgent.onResume(this); // BY贺思明 2012-7-24
 }