Now capture temperature and humidity information in real-time with the Mappls Intouch SDK. The Bluetooth(BLE) Sensor Android Plugin connects with the InTouch SDK to give you real-time temperature and humidity details along with the user's live location.
Follow these steps to add the SDK to your project –
- Create a new project in Android Studio
- Add Mappls repository in your project level
build.gradle
allprojects {
repositories {
maven {
url 'https://maven.mappls.com/repository/mappls/'
}
}
}
- Add below dependency in your app-level
build.gradle
implementation 'com.mappls.sdk:intouch-sdk:1.0.0'
implementation 'com.mappls.sdk:ble-plugin:1.0.0'
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
Required Minimum sdk version
minSdkVersion 18
Track your app user's phone live location with BLE sensor details (like temperature, Battery and humidity) by using the below method. Before the start tracking method add the MAC address of the BLE sensor for which you need to get the temperature data.
BluetoothLEScanHelper.getInstance().setBleDeviceMacId("<Ble Mac address>"); // sample mac address of the BLE sensor is xx:xx:xx:xx:xx:xx
InTouch.startTracking();
BluetoothLEScanHelper.getInstance().setBleDeviceMacId("<Ble Mac address>"); // sample mac address of the BLE sensor is xx:xx:xx:xx:xx:xx
InTouch.startTracking
InTouch.stopTracking();
InTouch.stopTracking()
For any queries and support, please contact:
Email us at apisupport@mappls.com
Need support? contact us!
@ Copyright 2022 CE Info Systems Ltd. All Rights Reserved.
Terms & Conditions | Privacy Policy | Supplier Sustainability Policy | Health & Safety Policy | Environmental Policy & CSR Report
Customer Care: +91-9999333223