android - Flurry analytics -


i have code in application class

package com.tmaprojects.sattansikcalculator; import android.app.application; import com.flurry.android.flurryagent; public class myapplication extends application {  @override public void oncreate() {      super.oncreate();     flurryagent.init(this, "api_key");  } } 

and in each activity

   @override protected void onstart() {     super.onstart();     flurryagent.onstartsession(this, "api_key"); }  @override  protected void onstop() {     super.onstop();     flurryagent.onendsession(this); } } 

is right way send analytics ? , how can send more details when user press button , send data in edittexts ?


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -