@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    CompromisosVerificacion_Activity.VISTA_CARGADA = 0;
    PosicionVerificacion_Activity.VISTA_CARGADA = 0;
    PresentacionVerificacion_Activity.VISTA_CARGADA = 0;
    CombosVerificacion_Activity.VISTA_CARGADA = 0;

    setContentView(R.layout.frameng_tabs);
    mTabHost = (TabHost) findViewById(android.R.id.tabhost);
    mTabHost.setup();

    mTabManager = new TabManager(this, mTabHost, R.id.realtabcontent);

    mTabManager.addTab(
        mTabHost.newTabSpec("Inventario").setIndicator("Inventario"),
        CompromisosVerificacion_Activity.class,
        getIntent().getExtras());
    mTabManager.addTab(
        mTabHost.newTabSpec("Posicion").setIndicator("Posici—n"),
        PosicionVerificacion_Activity.class,
        getIntent().getExtras());
    mTabManager.addTab(
        mTabHost.newTabSpec("Presentacion").setIndicator("Presentaci—n"),
        PresentacionVerificacion_Activity.class,
        getIntent().getExtras());
    mTabManager.addTab(
        mTabHost.newTabSpec("Combos").setIndicator("Combos"),
        CombosVerificacion_Activity.class,
        getIntent().getExtras());

    if (savedInstanceState != null) {
      mTabHost.setCurrentTabByTag(savedInstanceState.getString("tab"));
    }
  }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putString("tab", mTabHost.getCurrentTabTag());
 }