Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tutorials for Flurry Analytics in Android ? [closed]

Tags:

android

flurry

I am new to Flurry Analytics in Android, where can I find basic tutorials to work on it?

like image 357
OM The Eternity Avatar asked Jun 10 '10 05:06

OM The Eternity


People also ask

What is Android flurry?

Flurry | Mobile App Analytics Platform for Android & iOS.

What is Flurry SDK?

Flurry is a bundled SDK that automatically collects information about how people use your app as well as revenue information from in-app purchases. Flurry Analytics is provided as one library that requires 3 lines of code to integrate.


1 Answers

It's actually really simple.

1 - Head to flurry.com and register for your app, which will generate a unique tracking code.

2 - Download and add the FlurryAgent jar to your project libraries. If you're using Eclipse, right-click your project folder, select properties, select Java Build Path, and choose Add External JARs...

3 - Add android.permission.INTERNET to your AndroidManifest.xml.

4 - Add a call to the Flurry agent from the onStart() and onStop methods of your activities.

Note: replace the ID below with your unique tracking code.

public void onStart()
{
   super.onStart();
   FlurryAgent.onStartSession(this, "9GKQD4EBX123FEP6874H");
   // your code
}

public void onStop()
{
   super.onStop();
   FlurryAgent.onEndSession(this);
   // your code
}

That's It !

https://developer.yahoo.com/flurry/#get-started

like image 126
sidhanshu Avatar answered Nov 15 '22 22:11

sidhanshu