jleo / countly-sdk-android

Countly Mobile Analytics - Android SDK

Home Page:http://count.ly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##What's Countly? Countly is an innovative, real-time, open source mobile analytics application. It collects data from mobile phones, and visualizes this information to analyze mobile application usage and end-user behavior. There are two parts of Countly: the server that collects and analyzes data, and mobile SDK that sends this data (for iOS & Android).

Countly Server;

Other Countly SDK repositories;

##Installation

Installing Android SDK requires two very easy steps. Countly Android SDK uses OpenUDID (which comes ready with the zip file). First step is about OpenUDID requirement and second step is integrating Countly SDK to your project:

###1. Add this to your manifest:

  • Add OpenUDID_manager.java and OpenUDID_service.java to your project under Eclipse.
<service android:name="org.openudid.OpenUDID_service">
    <intent-filter>
        <action android:name="org.openudid.GETUDID" />
    </intent-filter>
</service>

###2. Now it's time to add main Countly SDK to your project using steps below:

  • Add Countly.java to your project under Eclipse.
  • Call Countly.sharedInstance().init(...) in onCreate. init(...) function requires the URL of your Countly server.
  • Call Countly.sharedInstance().onStart() in onStart.
  • Call Countly.sharedInstance().onStop() in onStop.

Additionally, make sure that INTERNET permission is set if there's none in your manifest file.

##How can I help you with your efforts? Glad you asked. We need ideas, feedbacks and constructive comments. All your suggestions will be taken care with upmost importance.

We are on Twitter and Facebook if you would like to keep up with our fast progress!

##Home

http://count.ly

##Community & support

http://support.count.ly

About

Countly Mobile Analytics - Android SDK

http://count.ly