Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
.gitignore
README.md
build.gradle

README.md

Gradle Import

To import the library, you first need to add our repository in app/build.gradle:

repositories {
    mavenLocal()
    maven {
        url "https://dl.bintray.com/elimu-ai/maven/"
    }
}

Then, add the following dependencies:

dependencies {
   ...

   compile 'ai.elimu.analytics:eventtracker:1.0.5'
}

Report Learning Activity

To report learning activity, use one of the static methods provided by the EventTracker class, e.g. EventTracker.reportLetterLearningEvent(getApplicationContext(), “a”);

Note that for the analytics data to be stored on the SD card, the Analytics application must be installed on the tablet. The log files will then appear under /sdcard/.elimu-ai/analytics/events/<deviceId>

Sample Application

To see a sample of how to use the analytics library is being used, go to https://github.com/elimu-ai/launcher