Android To get started with Android, you’ll need to include our Android library, the jar file (kapi.jar), into your project lib folder, add it to your build path, and initialize a fresh tracking object to initialize the API. Note that the calls to the Katana Android library are asynchronous.

To initialize the API using Java

  1. Grab the latest version of the Katana Android Library:
  2. Include the Android library in your source, using: “import com.ninjametrics.kapi.KApi”
  3. Initialize a fresh tracking object in your source, using:
KApi kapi = new KApi (url, clientID, appID, appPassword);