@Override
  protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub

    super.onCreate(savedInstanceState);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    setContentView(R.layout.import_sysmes_processbar);
    requestcode = getIntent().getIntExtra(Constant.REQUEST_CODE, -1);

    processbar = (SeekBar) findViewById(R.id.my_progressbar1);

    processtip = (TextView) findViewById(R.id.my_progressbar_tip);

    addperson = getIntent().getStringArrayListExtra(Constant.IMPORT_OR_DEL_NUMS);
    mcontext = this.getBaseContext();
    if (getIntent().getStringExtra(Constant.IS_IMPORT_NUMS).length() > 0) {
      tip = "正在导入联系人";
      new ImportSysmes().execute();
    } else {
      tip = "正在导出联系人";
      findViewById(R.id.gd_iv_titlebar_icon)
          .setBackgroundResource(R.drawable.gd_dialog_private_contacts_icon_out);
      new ExportToSysmes().execute();
    }
  }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
    setContentView(R.layout.simiren_setting_dialog);

    iv_kaiguan = (ImageView) findViewById(R.id.iv_simi_kaiguan);
    tv_update = (TextView) findViewById(R.id.tv_update);

    iv_kaiguan.setOnClickListener(this);
    tv_update.setOnClickListener(this);
    try {
      this.lMRFlag = getService(IPrivateSMService.class).isRingBellWhenReceiving() == false;
      if (this.lMRFlag) {
        iv_kaiguan.setBackgroundResource(R.drawable.close);
      } else {
        iv_kaiguan.setBackgroundResource(R.drawable.open);
      }
    } catch (Throwable t) {

    }
  }
  @Override
  protected void onCreate(Bundle arg0) {
    super.onCreate(arg0);
    setContentView(R.layout.huizhi_mainpage22);
    ((com.wxxr.callhelper.qg.widget.BottomTabBar) findViewById(R.id.home_bottom_tabbar))
        .setActivtiy(this, 0);

    sp = NSharedPreferences.getInstance(getApplicationContext());
    sp.get(Constant.HUIZHI_STYLE, 0);
    sp.get("menu_open", false);
    sp.update("menu_open", false);
    hdao = HuiZhiBaoGaoDao.getInstance(this);
    array_mainlist_main = new ArrayList<ArrayList<BodyBeanHuiZhi>>();
    all_reals = new ArrayList<BodyBeanHuiZhi>();

    // all = hdao.queryAllHuiZhi();
    // all_reals = getRealContent(all);

    // queryData();
    // LinearLayout ll = (LinearLayout)
    // findViewById(R.id.ll_huizhi_main_bg);
    // Bitmap readBitmap = Tools.readBitmap(this,
    // R.drawable.main_bg_communication);
    // BitmapDrawable bitmapDrawable = new BitmapDrawable(readBitmap);
    // ll.setBackgroundDrawable(bitmapDrawable);

    ll_main_total = (RelativeLayout) findViewById(R.id.ll_huizhi_main_bg);
    infater = LayoutInflater.from(this);
    metric = new DisplayMetrics();
    getWindowManager().getDefaultDisplay().getMetrics(metric);
    binddatatool = DCMyViewGroupHuiZhiBaoGao.getInstance(this, metric, null, 0);
    // ll_maincontent = (LinearLayout) findViewById(R.id.ll_main_content);

    madapter = new HuizhiAdapter();

    findView();

    Intent intent = getIntent();
    String flag = intent.getStringExtra("shouye");
    // ll_maincontent.removeAllViews();

    // huizhi_empty_text.setText(str_all);
    // if (flag == null) {
    // View view = getFirstView(all_reals, str_all, click_type);
    // // if (view != null) {
    // // ll_maincontent.addView(view);
    // // }
    //
    // } else if (flag.equals("shouye")) {
    // View view = getFirstView(all_reals, str_all, click_type);
    // // if (view != null) {
    // // ll_maincontent.addView(getFirstView(all_reals, str_all,
    // // click_type));
    // // }
    //
    // click_style = false;
    //
    // // rl_tab1.setBackgroundResource(R.drawable.title_qian_xuanzhong);
    // // rl_tab2.setBackgroundDrawable(null);
    //
    // } else {
    // // ll_maincontent.addView(getSecondView());
    //
    // }

    IntentFilter testAction = new IntentFilter("com.wxxr.viewgroup.refreshhuizhiall");
    rcrReceiver = new RefreshContentReceiverHZ();
    registerReceiver(rcrReceiver, testAction);
  }