As already indicated, in this section, we will be designing an app for both Android and iOS platforms, which listens for RSSI updates from a broadcasting iTag sensor and uses these values to predict the distance of the iTag from the receiver.
Our development pre-requisites and setup remain exactly similar to those defined in Chapter 3, Building a Service Explorer App.
We begin by creating an empty project in the Android Studio. We have chosen the name AndroidiTagPersonalTracker
; feel free to be creative with your project's name. We have already done this exercise in Chapter 2, Setting Up; hence, we will not be covering that here again.
Note
When you are creating any Android-based Bluetooth Low Energy Project, remember to select the minimum API Level as 21 during the setup, since many Bluetooth Low Energy related system API calls require minimum API level 21.
Once we have finished creating our empty project, as a first step, we can define some simple user interface...