Exemple #1
0
  protected void initWidget() {
    mTipDlg = new ProgressDialog(this, R.string.dlg_login_server_tip);
    mTipDlg.setCancelable(false);
    m_device_id = getIntent().getStringExtra(Constant.EXTRA_DEVICE_ID);
    m_tb_h_flip = (ToggleButton) findViewById(R.id.tb_image_h_flip);
    m_tb_v_flip = (ToggleButton) findViewById(R.id.tb_image_v_flip);

    Button btnFinish = (Button) findViewById(R.id.btnRight);
    btnFinish.setText(R.string.finish);
    btnFinish.setVisibility(View.VISIBLE);
    btnFinish.setOnClickListener(this);
    LibImpl.getInstance().setMediaParamHandler(m_handler);
    loadData();
  }
Exemple #2
0
 @Override
 protected void onResume() {
   super.onResume();
   LibImpl.getInstance().setMediaParamHandler(m_handler);
 }