示例#1
0
 protected void onPause() {
   // TODO Auto-generated method stub
   super.onPause();
   if (!toLogin) {
     sensor.stopAction();
   }
 }
示例#2
0
 /**
  * 机选投注调用函数
  *
  * @param string 显示框信息
  * @return
  */
 public void alert_jixuan() {
   sensor.stopAction();
   buyImplement.touzhuNet(); // 投注类型和彩种
   setZhuShu(balls.size());
   toLogin = true;
   isGift = false;
   isJoin = false;
   isTouzhu = true;
   if (touZhuDialog == null) {
     initTouZhuDialog();
   } else {
     initAlerDialog();
   }
   touZhuDialog.setOnDismissListener(
       new OnDismissListener() {
         @Override
         public void onDismiss(DialogInterface dialog) {
           // TODO Auto-generated method stub
           sensor.startAction();
         }
       });
 }