Ejemplo n.º 1
0
 @Override
 public void onCheckedChanged(RadioGroup group, int checkedId) {
   // TODO Auto-generated method stub
   super.onCheckedChanged(group, checkedId);
   switch (checkedId) {
     case 0:
       isjixuan = false;
       BallTable shitable;
       BallTable getable;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       String baititle = "百位区";
       String shititle = "十位区";
       String getitle = "个位区";
       AreaNum[] areaNums = new AreaNum[3];
       areaNums[0] = new AreaNum(10, 10, 8, BallResId, 0, 0, Color.RED, baititle);
       areaNums[1] = new AreaNum(10, 10, 8, BallResId, 0, 0, Color.RED, shititle);
       areaNums[2] = new AreaNum(10, 10, 8, BallResId, 0, 0, Color.RED, getitle);
       createView(areaNums, sscCode, ZixuanAndJiXuan.THREE, true);
       BallTable = areaNums[0].table;
       shitable = areaNums[1].table;
       getable = areaNums[2].table;
       break;
     case 1:
       isjixuan = true;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       SscBalls sscb = new SscBalls(3);
       createviewmechine(sscb);
       break;
   }
 }
Ejemplo n.º 2
0
 @Override
 public void onCheckedChanged(RadioGroup group, int checkedId) {
   // TODO Auto-generated method stub
   super.onCheckedChanged(group, checkedId);
   switch (checkedId) {
     case 0:
       isjixuan = false;
       BallTable getable;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       String shititle = "十位区";
       String getitle = "个位区";
       areaInfos = new AreaInfo[2];
       areaInfos[0] = new AreaInfo(4, 1, BallResId, 0, 0, Color.RED, shititle);
       areaInfos[1] = new AreaInfo(4, 1, BallResId, 0, 0, Color.RED, getitle);
       createView(areaInfos, sscCode, this, BIG_SMALL);
       BallTable = areaNums[0].table;
       getable = areaNums[1].table;
       break;
     case 1:
       isjixuan = true;
       iProgressBeishu = 1;
       iProgressQishu = 1;
       SscBalls sscb = new SscBalls();
       createviewmechine(sscb, this);
       break;
   }
 }
Ejemplo n.º 3
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   //			Log.v("DLC", "onDestroy");
   if (timer != null) {
     timer.cancel();
   }
 }
Ejemplo n.º 4
0
 public void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
   setContentView(R.layout.buy_dlc_main);
   sscCode = new DlcCode();
   initTop();
   initSpinner();
   initGroup();
   setIssue();
   highttype = "DLC";
 }
Ejemplo n.º 5
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
   isbigsmall = true;
   childtype = new String[] {"直选", "机选"};
   setContentView(R.layout.sscbuyview);
   sscCode = new BigSamllCode();
   self = this;
   init();
   highttype = "SSC";
 }
Ejemplo n.º 6
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);
   lotnoStr = Constants.LOTNO_SSC;
   childtype = new String[] {"直选", "机选"};
   setContentView(R.layout.sscbuyview);
   sscCode = new ThreeStarCode();
   self = this;
   init();
   highttype = "SSC";
 }
Ejemplo n.º 7
0
 protected void onResume() {
   // TODO Auto-generated method stub
   super.onResume();
 }
Ejemplo n.º 8
0
 protected void onStop() {
   // TODO Auto-generated method stub
   super.onStop();
 }