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. The solution of developing android serialport with QT5.2.0 beta1
Forum Updated to NodeBB v4.3 + New Features

The solution of developing android serialport with QT5.2.0 beta1

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.2k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    liangliang
    wrote on last edited by
    #1

    hai ,
    everyone. as the current QT version do not support android serialport . i have some quetion :

     1. when the QT verion can support android  serialport ?  Do the QT project team have plan  to do the work  recently ?
     2. becaues google has a project named android-serialport-api ,most of people use it to do android serialport
    

    by java
    https://code.google.com/p/android-serialport-api/source/browse/trunk/project/jni/SerialPort.c?r=4
    i want to use JNI to reach the android serialport by QT .
    At the moment unsuccessful.. So may be there is some one who made it work and have some example?

                                                                                                                                                           thank you very much !
    
    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by
      #2

      [quote]
      when the QT verion can support android serialport ? Do the QT project team have plan to do the work recently ?
      [/quote]
      Maybe in Qt 5.2.1... We need help with Android. :)

      [quote]
      i want to use JNI to reach the android serialport by QT .
      [/quote]
      QtSerialPort does not used JNI, at least currently.

      [quote]
      So may be there is some one who made it work and have some example?
      [/quote]
      Currently works only the QSerialPortInfo, but partially: not all serial devices can be listed..

      To a common info please watch for "bug-tracker ":https://bugreports.qt-project.org/browse/QTBUG-32672
      also you can post there bugs or suggestions..

      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