How to retrieve messages from Azure IOT hub to android studio app

Nitesh 20 Reputation points
2023-08-02T09:33:11.5233333+00:00

Hi I am new to Microsoft azure i was able to establish connection from an app created on android studio where in i am able to sent messages from app to azure iot device now i want to retrieve the data that is present on the same azure iot device and display it on the app

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
391 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 30,066 Reputation points
    2023-08-02T16:11:44.11+00:00

    Nitesh Greetings!

    Hi I am new to Microsoft azure i was able to establish connection from an app created on android studio where in i am able to sent messages from app to azure iot device now i want to retrieve the data that is present on the same azure iot device and display it on the app

    Did you check Send cloud-to-device messages with IoT Hub (Java) and Send cloud-to-device messages from an IoT hub already? If not take a look.

    You can also refer to this document. It shows how to read the telemetry from you IoT Hub.

    To retrieve the data from the Azure IoT device and display it on the app, you can also use the data export feature in IoT Central.

    See Export data from an IoT Central application for more details.

    Hope this helps. Do let me know if you have any further queries.

    0 comments No comments