We need to connect Android Application with Azure IoT Hub
to send the telemetry readings at continuous intervals. For this communication, we would need to register the device with Azure IoT Hub. This process is easy and smooth if we have few handful of devices to connect. But, the android app can be installed by anyone from Play Store.
To register the device at run time, we can use another Azure service Azure IoT Hub Device Provisioning Service (DPS)
. But, the current SDKs that are available to connect with DPS belongs to C#, Node, Java etc.
Can anyone guide how we can connect android device/mobile phones to DPS and then send data to Azure IoT Hub?
FYI: So far, I have provisioned Azure IoT Hub, Azure IoT Hub Device Provisioning Service, linked my IoT Hub in DPS. Under Enrollment Groups, I have created a group and have "Symmetric Keys" with me to use.
References: This is good to start if android device is registered with Azure IoT Hub -> https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-android.
Please comment if you need any additional information.
TIA..