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)
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 1.9k 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 7 Sept 2016, 15:01 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

    R 1 Reply Last reply 8 Sept 2016, 06:30
    0
    • H halil sogut68
      7 Sept 2016, 15:01

      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

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 8 Sept 2016, 06:30 last edited by raven-worx 9 Aug 2016, 21:07
      #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 8 Sept 2016, 07:40 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

        R 1 Reply Last reply 8 Sept 2016, 07:53
        0
        • H halil sogut68
          8 Sept 2016, 07:40

          Hi ,

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

          Best Regards

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 8 Sept 2016, 07:53 last edited by raven-worx 9 Aug 2016, 21:07
          #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 8 Sept 2016, 08:01 last edited by
            #5

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

            Best Regards

            1 Reply Last reply
            0

            1/5

            7 Sept 2016, 15:01

            • Login

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