Applause Android SDK Installation Guide for ANT

Applause Android SDK Installation Guide for ANT

STEP 1 – INTEGRATE THE APPLAUSE ANDROID SDK

Please see: our download page to get the latest Android SDK

STEP 2 – RUN THE SDK

Each time your app launches, you should start a new Applause SDK session. The only action to take is to invoke the Applause.startNewSession() method in the onCreate event of your application class.

First, make sure you import the Applause SDK

import com.applause.android.Applause;

Then launch the Applause SDK

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Applause.startNewSession(this, "Your-Application-Key-Goes-Here");
    }
}

STEP 3 – MODIFY THE ANDOIRD MANIFEST FILE

Make sure to declare Applause SDK activities in the <application> section. The result should look as follows

<application>
  <activity android:name="com.applause.android.ui.ProblemActivity" />
  <activity android:name="com.applause.android.ui.FeedbackActivity" />
  <activity android:name="com.applause.android.ui.ScreenshotEditorActivity" />
</application>

STEP 4 – PERMISSIONS

Appluase SDK requires the android.permission.INTERNET permission to work. Please add following line inside <manifest> tags

<uses-permission android:name="android.permission.INTERNET"/>

Appluase SDK is capable of gathering device state like Bluetooth or Networking. Please check detailed instruction in this section.

For more info

For more information like setting the API key go to the main help page