@SuppressLint("NewApi") @Override public void onCreate(Bundle savedInstanceState) { weblayer.toolbox.Common.DefinirTheme(this, getResources().getString(R.string.titulo_config)); super.onCreate(savedInstanceState); if (android.os.Build.VERSION.SDK_INT >= 11) { ActionBar actionBar = getActionBar(); actionBar.setDisplayShowHomeEnabled(false); actionBar.setTitle(getResources().getString(R.string.titulo_config)); } setContentView(R.layout.activity_config); txtImei = (TextView) findViewById(R.id.config_txt_Imei); txtVendedor = (TextView) findViewById(R.id.config_txt_Vendedor); txtConta = (TextView) findViewById(R.id.config_txt_Conta); txtUltimaSinc = (TextView) findViewById(R.id.config_txt_UltimaSinc); ParametroDAO.initialize(this); LoadConfig(); }
public void onBtnTestarConexao(View v) { weblayer.toolbox.Common.TestConnection(this); }