/* (non-Javadoc) * @see android.app.Activity#onResume() */ @Override protected void onResume() { super.onResume(); final Context context = getApplicationContext(); mSession = Session.get(context); Collector.onResume(context); }
/* (non-Javadoc) * @see android.app.Activity#onCreate(android.os.Bundle) */ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final Context context = getApplicationContext(); mSession = Session.get(context); Collector.onError(context); }