Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use flurry in an application?

Tags:

I would like to use flurry and its features in my application. How can i register myself with flurry and how can i use it in my android application?

Thanks

like image 551
Nikki Avatar asked Dec 16 '10 12:12

Nikki


People also ask

What is Flurry app?

Flurry Push enables app developers to send targeted messages to re-engage and retain users across Android and iOS. Mobile developers can leverage the power of push notifications to effectively grow usage and revenue – all for free, all now available in Flurry.

What is flurry iOS?

Flurry | Mobile App Analytics Platform for Android & iOS.

How do you integrate flurry in unity?

Install unity plugin The plugin now includes Flurry push, a free service for sending push notifications to your app users. For instructions on adding Push for Unity see Push for iOS Unity and Push for Android Unity. Install Flurry SDK Unity plugin via the Unity Asset Store - by selecting Window -> Package Manager.


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.. or use Gradle + Jcenter compile 'com.flurry.android:analytics:6.2.0'

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!

like image 169
Kyle Clegg Avatar answered Sep 20 '22 15:09

Kyle Clegg