PartyTrack Android SDK Guide
PartyTrack Android SDK Guide
2014/04/16
To begin
Partytrack SDK for Android is provided as a .jar file. Add Partytrack folder to the
project to integrate the SDK in.
permission setting
Please add following permission.Required
<uses-permission android:name="android.permission.INTERNET" />
mac address
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
To use Android Advertising ID, setting for Google Play Service SDK is
required. Please refer following URL for setting information.
https://developer.android.com/google/play-services/setup.html
Please disregard message for The Google Play services resources were
not found. Check your project configuration to ensure that the resources
are included. displayed on Log cat when attempting to acquire Android
Advertising ID.
If your app is already using receiver install referrer and need to utilize it in
conjunction with PartyTrack SDK:Inside your app in the onReceive method
of the receiver class, call the receiver class in our SDK as below.
package your.app.package;
import
import
import
import
it.partytrack.sdk.ReferrerReceiver;
android.content.BroadcastReceiver;
android.content.Context;
android.content.Intent;
1 In case like neither development language is not Java nor development of class succeeded
BroadcastReceiver is not affordable.
No need to concern for return value asPermission deniedin not Rooted device.
10
11
12
13
CAUTION
Please DO NOT SET WebView of UserAgent with OWN METHOD. It
causes tracking might not work properly.
14
Payment tracking
Call the following method
Track.payment(itemName, itemPrice, itemPriceCurrency, itemNum);
Debug Mode ON
Call setDebugMode method of Track Class.
Track.setDebugMode(true);
paramKey: (String )
paramValue: (String)
Value
Notes
Track.CLIENT_ID
client_id
16
17