Ejemplo n.º 1
0
  @Override
  protected void onStart() {
    super.onStart();

    runOnUiThread(
        new Runnable() {
          public void run() {
            setProgressBarIndeterminateVisibility(true);
          }
        });

    myCollection.bindToService(
        this,
        new Runnable() {
          public void run() {
            if (myAllBooksAdapter != null) {
              return;
            }

            if (myBook != null) {
              myThisBookAdapter = new BookmarksAdapter(createTab("thisBook", R.id.this_book), true);
            } else {
              findViewById(R.id.this_book).setVisibility(View.GONE);
            }
            myAllBooksAdapter = new BookmarksAdapter(createTab("allBooks", R.id.all_books), false);
            findViewById(R.id.search_results).setVisibility(View.GONE);

            new Thread(new Initializer()).start();
          }
        });

    OrientationUtil.setOrientation(this, getIntent());
  }
Ejemplo n.º 2
0
  @Override
  protected void onStart() {
    super.onStart();
    Log.d(TAG, "onStart");

    if (!fHasMedia) {
      for (SoundEffect snd : SoundEffect.values()) snd.load();
      fHasMedia = true;
    }
  }
Ejemplo n.º 3
0
  @Override
  protected void onStart() {
    super.onStart();
    Log.d(TAG, "onStart");

    if (!app.isConnected()) {
      Log.d(TAG, "start login");
      Intent login = new Intent(this, LoginActivity.class);
      startActivityForResult(login, LOGIN_REQUEST_CODE);
    } else {
      Log.d(TAG, "already logged in");
    }
  }
 @Override
 public void onStart() {
   super.onStart();
 }
 protected void onStart() {
   this.mStatus = JTabActivity.Status.STARTED;
   super.onStart();
 }
Ejemplo n.º 6
0
 @Override
 protected void onStart() {
   super.onStart();
   StatisticsService.sessionStart(this);
 }
Ejemplo n.º 7
0
 @Override
 protected void onStart() {
   // TODO Auto-generated method stub
   super.onStart();
   System.out.println("开始");
 }
Ejemplo n.º 8
0
 @Override
 protected void onStart() {
   super.onStart();
   // INSTANCIANDO VIEWS E SETANDO LISTENERS
   setListeners();
 }