Skip to content
pedroduran edited this page Aug 22, 2013 · 5 revisions

Getting Started

Step 1: Basic setup

Measure the evolution of your app key indicators: usage, downloads, retention, engagement, events and segments behaviour very quickly and with little effort using Malcom.

  1. a. If you use Maven, add the malcom dependency

    b. Otherwise download the Malcom Android SDK and add malcom-android-library.jar to your classpath

  2. Configure your AndroidManifest.xml to have access to the Internet and optionally location, and add the service to send data

<service android:name="com.malcom.library.android.module.stats.services.PendingBeaconsDeliveryService" />
  1. Incorporate the following four lines of Malcom code in your Application extended class:

     import com.malcom.library.android.MalcomActivityLifecycleCallbacks;
     import com.malcom.library.android.module.core.MCMCoreAdapter;
    
     
     @Override
     public void onCreate() {
         MCMCoreAdapter.getInstance().initMalcom(this, UUID_MALCOM, SECRET_KEY);
         MalcomApplicationHelper.registerActivityLifecycleCallbacks(this, new MalcomActivityLifecycleCallbacks());
     }
    
  2. If your application is targeted for Android version before 4 (API 14), you'll need all your activities extending MalcomActivity.java.

Those 4 steps will give you access to this features:

  • Sessions
  • Unique users
  • Hours of Day (when is your app is used)
  • Technical (Model, SO version, App version, Lib version, Carrier)
  • Crashes
  • Location
  • Engagement
  • New users Vs Returning
  • Session length
  • Intelligence

Step 2: Understand user behavior through tracking Actionable metrics

Clone this wiki locally