Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to find Internet connection speed in Qt (C++/QML)
Qt 6.11 is out! See what's new in the release blog

How to find Internet connection speed in Qt (C++/QML)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 2.0k 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.
  • H Offline
    H Offline
    halil sogut68
    wrote on last edited by
    #1

    I using Arcgis Runtime SDK for Qt 10.2.6 and Qt 5.4.2 (MSVC 2013, 32 bit) Qt Creator QT\QML side. And we are develop and deploy Adroid app with Android Armeobi-v7a (GCC4.9 , QT 5.4.2) kid.

    I have GIS application which generate geodatabase in device with internet ,how can I find internet connection speed for
    alert the user about internet connection speed before generate geodatabase in device.

    Best Regards

    raven-worxR 1 Reply Last reply
    0
    • H halil sogut68

      I using Arcgis Runtime SDK for Qt 10.2.6 and Qt 5.4.2 (MSVC 2013, 32 bit) Qt Creator QT\QML side. And we are develop and deploy Adroid app with Android Armeobi-v7a (GCC4.9 , QT 5.4.2) kid.

      I have GIS application which generate geodatabase in device with internet ,how can I find internet connection speed for
      alert the user about internet connection speed before generate geodatabase in device.

      Best Regards

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @halil-sogut68
      Since you are developing for mobile (Android) i have the following thoughts:

      1. the connection type and speed on mobile devices may and actually most probably will change from one moment to another. Unlike in an desktop environment
      2. event with a fast connection it depends how much load other apps generate on the connection
      3. from within your application you can only test how fast the connection is by downloading a file and measure transfer. But again this doesn't include the load during the transfer from other apps. So you should go rather for a system-specific solution. For example see this utility class to determine the (current) connection type on Android

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • H Offline
        H Offline
        halil sogut68
        wrote on last edited by
        #3

        Hi ,

        Thanks for ansvering queation raven-works . Are there any solution in QT(C++, QML) side because our application is Qt .

        Best Regards

        raven-worxR 1 Reply Last reply
        0
        • H halil sogut68

          Hi ,

          Thanks for ansvering queation raven-works . Are there any solution in QT(C++, QML) side because our application is Qt .

          Best Regards

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by raven-worx
          #4

          @halil-sogut68
          Not that i am aware of.
          But with the provided java class included into your app, you should be able to call it using QAndroidJniObject in a one-liner.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          1
          • H Offline
            H Offline
            halil sogut68
            wrote on last edited by
            #5

            Thanks raven-works. This can be hehlpful for us.

            Best Regards

            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