Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Connecting STM32 Board to Android QML Application, need to get USB permission
Forum Updated to NodeBB v4.3 + New Features

Connecting STM32 Board to Android QML Application, need to get USB permission

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 279 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EfeAtes
    wrote on 20 Jan 2025, 16:14 last edited by
    #1

    I'm developing an Android app using QML and want to connect it to my custom STM32 board, specifically the STM32L412. The board communicates effectively with Windows using the Qt Serial Port libraries. However, I'm struggling to implement this connection on Android. Any assistance would be greatly appreciated.

    Best regards,
    Efe

    J 1 Reply Last reply 21 Jan 2025, 06:39
    0
    • E EfeAtes
      20 Jan 2025, 16:14

      I'm developing an Android app using QML and want to connect it to my custom STM32 board, specifically the STM32L412. The board communicates effectively with Windows using the Qt Serial Port libraries. However, I'm struggling to implement this connection on Android. Any assistance would be greatly appreciated.

      Best regards,
      Efe

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Jan 2025, 06:39 last edited by
      #2

      @EfeAtes Android is supported only partially, see https://wiki.qt.io/Qt_Serial_Port

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      E 1 Reply Last reply 27 Jan 2025, 09:22
      1
      • J jsulm
        21 Jan 2025, 06:39

        @EfeAtes Android is supported only partially, see https://wiki.qt.io/Qt_Serial_Port

        E Offline
        E Offline
        EfeAtes
        wrote on 27 Jan 2025, 09:22 last edited by
        #3

        Hello, could you help me obtain the product ID and vendor ID in a Qt QML Android application? I tried doing this in native Android Studio using Java, but when I accepted the permission request to read USB devices, I received a toast message indicating that permission was not granted. I'm not sure why this is happening.

        Does this mean that my app cannot get permission for USB access on Android? In Qt?

        Thank you!

        1 Reply Last reply
        0

        3/3

        27 Jan 2025, 09:22

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved