Back to project page face_rec_android.
The source code is released under:
GNU General Public License
If you think the Android project face_rec_android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package in.amolgupta.helpingfaceless.activities; /*from w ww. ja va2s. co m*/ import in.amolgupta.helpingfaceless.BuildConfig; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import com.flurry.android.FlurryAgent; import com.loopj.android.airbrake.AirbrakeNotifier; public class HFBaseActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { if (!BuildConfig.DEBUG) AirbrakeNotifier.register(this, "eaebac6bfd3a1e9b84dd2624bee294e9", "production"); super.onCreate(savedInstanceState); } @Override protected void onStart() { super.onStart(); FlurryAgent.onStartSession(this, "YOUR_API_KEY"); } @Override protected void onStop() { super.onStop(); FlurryAgent.onEndSession(this); } }