The LotaData JAR usage consists only in:

  • get a singleton instance for the class LDDispacher
  • fill the payload with data of interest
  • send payload to our back-end.

The few lines below represents this usage:

    public class MainActivity extends AppCompatActivity {

        protected void onCreate(Bundle savedInstanceState) {


         * Init LotaData Jar, setting the mandatory fields.
        private void initLotaDataJar() {
            //App package name
            String packageName = this.getPackageName();

            //SHA1 certificate fingerprint (can be extracted using the commnad: keytool -printcert -file CERT.RSA). For more details, see integration section.
            String sha1Fingerprint = "81:92:77:19:E3:71:78:28:67:E1:3C:24:8E:07:74:58:5E:1C:CA:D2";

            //Android ID
            String androidID = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID);

            LDDispatcher dispatcher = LDDispatcher.getInstance(packageName, sha1Fingerprint, androidID);

            //Create dummy payload
            TrailNode node = new TrailNode();

            //TODO: populate node object (use provided dictionary to know what each field means)

            //Send to LotaData's back-end

[warning] Payload dictionary

To better know what each field in payload means, please, contact us, requesting for our payload dictionary.


We are eager to hear from you and happy to share best practices for integrating the SDK. There are many ways for you to reach us:

But first, please sign up for an account with LotaData so that we may send you the link to download our SDK.

Was this helpful? Yes, thanks! Not really

results matching ""

    No results matching ""