website logo
⌘K
Introduction
Getting Started with Qualetics
Creating your account
Connecting your data
Data Streaming
Data Objects
Example Data Events & Objects
Automatic Data Capture
Custom Event Data
Error Monitoring
SDK Integrations
JavaScript
Angular
React
React-Native
Rest API
Android
Qualetics for WordPress
Analytics
Software Quality Analytics
Features Overview
Insights
Dashboards
Quick Look
Customer Management
User Management
User Groups
Dynamic Home Pages
Docs powered by archbee 
website logo
8min

Android

Installation

Add the JitPack repository to your build file in your root build.gradle at the end of repositories:

Java
|


Add Qualetics SDK to your apps build.gradle file.

Java
|


In the same file under application - tag you need to define mqtt client service which is used as protocol for communicating with Qualetics servers.

Java
|


Usage

To use the SDK it first needs to be initialized

Java
|


To set the appVersion parameter that is sent with the messages you can set it with:

Java
|


To set default actor that will be sent with all messages without defined actor:

Java
|


To set default actor to be stored from api call:

Java
|


Then connect to server:

Java
|


After connection is initialized it can be used to send events to the server

Java
|




Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Qualetics for WordPress
Docs powered by archbee 
Copyright @ 2022 All Rights Reserved | Qualetics Data Machines Inc.