<commit_before>package com.mignot.kumar.indoormap;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.mignot.kumar.models.LocationEntry;

public class MainActivity extends AppCompatActivity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
  }
}<commit_msg>example for Tracker use in MainActivity<commit_after>package com.mignot.kumar.indoormap;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.google.firebase.database.FirebaseDatabase;
import com.indooratlas.android.sdk.IALocationManager;
import com.mignot.kumar.logger.FireBaseLocationLogger;
import com.mignot.kumar.models.LocationEntry;
import com.mignot.kumar.tracker.LocationTracking;

public class MainActivity extends AppCompatActivity {
  private final static String DATABASE_REF = "location-logs";
  private LocationTracking tracker;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    tracker = new LocationTracking (
        FireBaseLocationLogger.getInstance(FirebaseDatabase.getInstance().getReference(DATABASE_REF)),
        IALocationManager.create(this)
    );

    tracker.start();

    tracker.stop();
  }

  @Override
  protected void onDestroy() {
    tracker.onDestroy();
    super.onDestroy();
  }
}
{'fraction_non_alphanumeric': 0.0932145305003427, 'fraction_numerical': 0.0013708019191226869, 'mean_word_length': 5.212765957446808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6539844', 'n_tokens_mistral': 447, 'n_tokens_neox': 426, 'n_words': 75}