Exemplo n.º 1
0
  public void errorCode_0000() {
    // TODO Auto-generated method stub
    String codeStr = addView.getsharezhuma();
    clearAddView();
    for (int i = 0; i < itemViewArray.get(0).areaNums.length; i++) {
      itemViewArray.get(0).areaNums[i].table.clearAllHighlights();
      // itemViewArray.get(1).areaNums[i].table.clearAllHighlights();
    }

    showEditText();
    PublicMethod.showDialog(ZixuanActivity.this, lotno + codeStr);
  }
Exemplo n.º 2
0
  public void toJoinActivity() {
    clearAddView();
    ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
    try {
      ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
      objStream.writeObject(betAndGift);
    } catch (IOException e) {
      return; // should not happen, so donot do error handling
    }

    Intent intent = new Intent(ZixuanActivity.this, JoinStartActivity.class);
    intent.putExtra("info", byteStream.toByteArray());
    startActivity(intent);
  }
Exemplo n.º 3
0
  public void toActivity(String zhuma) {
    clearAddView();
    ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
    try {
      ObjectOutputStream objStream = new ObjectOutputStream(byteStream);
      objStream.writeObject(betAndGift);
    } catch (IOException e) {
      return;
    }

    Intent intent = new Intent(ZixuanActivity.this, GiftActivity.class);
    intent.putExtra("info", byteStream.toByteArray());
    intent.putExtra("zhuma", zhuma);
    startActivity(intent);
  }