0

I'm developing an Android app using C++ Builder 10.1 Berlin. To have a monitoring of devices which use my app, I would like get the name of these devices. Does exist a function to do that?

Dylan
  • 107
  • 8

1 Answers1

2

If I understood correctly, you are looking for the Android Debug Bridge.

With it, you can monitor emulated and real devices. Using the adb devices command, you can list all connected devices that are available to you. Also, the adb logcat command outputs a LOT of verbose/warning/error information from your device.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770
Armen Avetisyan
  • 1,140
  • 10
  • 29
  • 1
    Thanks for your answer, but that's not what I asked. I'm looking for a C++ function in C++ Builder to get the device name directly in the code of my app. When the app is launching, it'll get the name, so the device won't be connected to a computer. – Dylan Aug 25 '16 at 07:39