How to connect android device to IoT Central?

yjay 256 Reputation points
2021-02-10T17:18:41.317+00:00

For the past few weeks I've been trying to figure out how to connect my android smartwatches to IoT Central.

My devices have a sim and LTE connection so they do not need a bluetooth gateway.

I followed many of the tutorials and documentation and looked through SDKs including:

Tutorial - Connect a generic client app to Azure IoT Central | Microsoft Learn
Get connected to Azure IoT Central
What are application templates
Define a new IoT device type in your Azure IoT Central application
IoT Hub Device Provisioning Service(DPS) for Azure IoT Central(SaaS)
Manage IoT Central applications with the REST API
Azure: How to connect to IoT-Central directly, via API or Webhook
Connect real device to Azure IoT Central
Connecting Windows IoT Devices To Azure IoT Central
Connect real device to Azure IoT Central using MQTT
Connecting simple devices to IoT Central
IoTCentral device client for React Native
Python SDK for IoTCentral
IoT Central Python Sample

I made an iot central application, device template, got SaaS primary key, device connection ID and ID scope

But I don't understand how to actually connect that information to my device and what is needed to do so? Do I need IMEI number(and if so where do I add that?), do I need to create an app and install in my device? Do I need to add something to my device sdk?

Any help is appreciated, thanks so much!!

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
357 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 questions
{count} votes

Accepted answer
  1. Roman Kiss 2,246 Reputation points
    2021-02-11T11:55:35.037+00:00

    have a look at my answer in the https://stackoverflow.com/questions/62342491/how-do-we-connect-android-ios-app-to-azure-iot-central-and-send-telemetry-data

    You can create your Android Wear app using the VS 2019 and run it on a Wear emulator or device, see more details here.

    The following screen snippets show an example of sending a telemetry data from the android wear app to the IoT Central App based on the implementation described in my first link:

    66888-android-wear.png

    66963-iotc.png

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful