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 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

    jsulmJ 1 Reply Last reply
    0
    • E EfeAtes

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      1
      • jsulmJ jsulm

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

        E Offline
        E Offline
        EfeAtes
        wrote on 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

        • Login

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