@Override
 protected void onStart() {
   super.onStart();
   if (BurnBot.DoFlurry) FlurryAgent.onStartSession(this, getString(R.string.flurry_key));
   FlurryAgent.onPageView();
   FlurryAgent.onEvent("BodyMetricsListActivity");
 }
Пример #2
0
 @Override
 protected void onStart() {
   super.onStart();
   // Bind to LocalService
   Intent intent = new Intent(this, BgIOIOService.class);
   bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
 }
Пример #3
0
  /** {@inheritDoc}. */
  @Override
  protected void onStart() {
    super.onStart();

    Log.v(TAG, "BEGIN onStart.");
    Log.v(TAG, "END onStart.");
  }
Пример #4
0
  @Override
  public void onStart() {
    if (delegate != null) {
      delegate.onStart();
    }

    super.onStart();
  }
 @Override
 protected void onStart() {
   super.onStart();
   bound = false;
   serviceConnection = new ServiceMonakConnection(this);
   bindService(
       new Intent(MonakService.MONAK_SERVICE), serviceConnection, Context.BIND_AUTO_CREATE);
 }
Пример #6
0
  /**
   * Collect app metrics on Flurry
   *
   * @see android.app.Activity#onStart()
   */
  @Override
  protected void onStart() {
    // Log.d(TAG, "onStart() called");

    super.onStart();

    FlurryAgent.onStartSession(this, "XBPNNCR4T72PEBX17GKF");
    lifePublish.onStart();
  }
Пример #7
0
  @Override
  public void onStart() {
    super.onStart();

    // start the terminal manager service
    this.bindService(new Intent(this, TerminalManager.class), connection, Context.BIND_AUTO_CREATE);

    if (this.hostdb == null) this.hostdb = new HostDatabase(this);
  }
Пример #8
0
 @Override
 protected void onStart() {
   Intent intent = new Intent(getApplicationContext(), InSideWSService.class);
   Log.i("sortedagent.onstart", "binding to service now...");
   if (mInSideWSConnection == null) Log.i("sortedagent.onstart", "uh, houston...");
   mBound = bindService(intent, mInSideWSConnection, Context.BIND_AUTO_CREATE);
   if (!mBound) Log.i("sortedagent.onStart", "we are NOT bound...");
   super.onStart();
 }
Пример #9
0
  @Override
  public void onStart() {
    super.onStart();
    // create initial list
    if (!bound) {
      bound =
          bindService(
              new Intent(ViewStocks.this, PortfolioManagerService.class),
              connection,
              Context.BIND_AUTO_CREATE);
      Log.d(LOGGING_TAG, "Bound to service: " + bound);
    }
    if (!bound) {
      Log.e(LOGGING_TAG, "Failed to bind to service");
      throw new RuntimeException("Failed to find to service");
    }
    setListAdapter(
        new BaseAdapter() {

          public int getCount() {
            if (stocks == null) {
              return 0;
            }
            return stocks.size();
          }

          public Object getItem(int position) {
            if (stocks == null) {
              return null;
            }
            return stocks.get(position);
          }

          public long getItemId(int position) {
            if (stocks == null) {
              return 0L;
            }
            return stocks.get(position).getId();
          }

          public View getView(int position, View convertView, ViewGroup parent) {
            if (convertView == null) {
              LayoutInflater inflater = getLayoutInflater();
              convertView = inflater.inflate(R.layout.stock, parent, false);
            }
            TextView rowTxt = (TextView) convertView.findViewById(R.id.rowTxt);
            rowTxt.setText(stocks.get(position).toString());
            return convertView;
          }

          @Override
          public boolean hasStableIds() {
            return true;
          }
        });
  }
Пример #10
0
  @Override
  protected void onStart() {
    super.onStart();

    // if basic settings have not been set, go to preferences screen.
    if (!Preferences.hasBasicSettings(this)) {
      Intent i = new Intent(getApplicationContext(), Settings.class);
      startActivity(i);
    }
  }
Пример #11
0
  @Override
  public void onStart() {
    super.onStart();
    Log.i("CYCLE_LIFE", "On Start Acceuil");
    init = new DatabaseInit(this);
    query = init.getBdd();
    listStation();

    eventButtonAdd();
    eventList();
  }
Пример #12
0
 @Override
 protected void onStart() {
   super.onStart();
   this.db = Database.create(getApplicationContext());
   this.history = new DBHistoryManager(this.db);
   ActiveRecordList<HistoryBlacklist> lst =
       this.db.query(
           new HistoryBlacklist(),
           null,
           "reinstated=0 OR hide_shortcut=1 OR hide_suggestion=1",
           null,
           null);
   Cursor c = lst.getCursor();
   startManagingCursor(c);
   ((CursorAdapter) getListAdapter()).swapCursor(c);
 }
Пример #13
0
  @Override
  protected void onStart() {
    super.onStart();

    cursorBusLineNames = dbhelper.getBusLines();

    adapterBusLineNames =
        new SimpleCursorAdapter(
            getApplicationContext(),
            android.R.layout.simple_spinner_item,
            cursorBusLineNames,
            new String[] {"linestr"},
            new int[] {android.R.id.text1});
    adapterBusLineNames.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
    spin_buslines.setAdapter(adapterBusLineNames);
    spin_buslines.setSelection(spinPos);

    initAutocompleteViews();
  }
Пример #14
0
  @Override
  protected void onStart() {
    super.onStart();

    myAllItems.clear();

    final Intent intent = getIntent();

    myAllItems.add(new SectionItem("enabled"));
    final List<String> enabledIds =
        intent.getStringArrayListExtra(NetworkLibraryActivity.ENABLED_CATALOG_IDS_KEY);
    if (enabledIds.size() > 0) {
      final TreeSet<CatalogItem> cItems = new TreeSet<CatalogItem>();
      for (String id : enabledIds) {
        final NetworkTree tree = NetworkLibrary.Instance().getCatalogTreeByUrlAll(id);
        if (tree != null && tree.getLink() != null) {
          cItems.add(new CatalogItem(id, true, tree));
        }
      }
      myAllItems.addAll(cItems);
      mySelectedItems.addAll(cItems);
    }

    myAllItems.add(new SectionItem("disabled"));
    final List<String> disabledIds =
        intent.getStringArrayListExtra(NetworkLibraryActivity.DISABLED_CATALOG_IDS_KEY);
    if (disabledIds.size() > 0) {
      final TreeSet<CatalogItem> cItems = new TreeSet<CatalogItem>();
      for (String id : disabledIds) {
        cItems.add(
            new CatalogItem(id, false, NetworkLibrary.Instance().getCatalogTreeByUrlAll(id)));
      }
      myAllItems.addAll(cItems);
    }

    setListAdapter(new CatalogsListAdapter());
  }
 @Override
 protected void onStart() {
   mScrollToTop = true;
   super.onStart();
 }
Пример #16
0
 @Override
 protected void onStart() {
   super.onStart();
   adapter.loadDevices();
 }
 @Override
 protected void onStart() {
   super.onStart();
   OrientationUtil.setOrientation(this, getIntent());
 }
 @Override
 public void onStart() {
   super.onStart();
   this.bindService(new Intent(this, BackendService.class), connection, Context.BIND_AUTO_CREATE);
 }
  /* (non-Javadoc)
   * @see android.app.Activity#onStart()
   */
  @Override
  protected void onStart() {
    super.onStart();

    EasyTracker.getInstance(this).activityStart(this);
  }
Пример #20
0
 @Override
 protected void onStart() {
   Log.i(Rhizome.TAG, getClass().getName() + ".onStart()");
   super.onStart();
 }
Пример #21
0
 @Override
 protected void onStart() {
   super.onStart();
 }
Пример #22
0
 @Override
 protected void onStart() {
   // TODO �����������ꂽ���\�b�h�E�X�^�u
   super.onStart();
 }
 @Override
 protected void onStart() {
   super.onStart();
   // The activity is about to become visible.
   loadPrefs();
 }
Пример #24
0
 @Override
 protected void onStart() {
   super.onStart();
   app.setActivity(this);
 }
Пример #25
0
 // ! Callback method (Activity), called if Activity has been started.
 @Override
 public void onStart() {
   super.onStart();
   reloadList();
 }
Пример #26
0
 protected void onStart() {
   super.onStart();
   ApplicationStateMonitor.getInstance().activityStarted();
 }
Пример #27
0
 @Override
 protected void onStart() {
   super.onStart();
   SessionM.getInstance().onActivityStart(this);
 }
 @Override
 protected void onStart() {
   super.onStart();
   initListeners();
   initCustomContextMenu();
 }
Пример #29
0
 @Override
 protected void onStart() {
   super.onStart();
   Collect.getInstance().getActivityLogger().logOnStart(this);
 }
Пример #30
0
 public void onStart() {
   super.onStart();
   final ListView listView = getListView();
   gameListAdapter = new GameListAdapter(ref.limit(15), this, R.layout.game_list_item);
   listView.setAdapter(gameListAdapter);
 }