Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to find Internet connection speed in Qt (C++/QML)
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.
Since you are developing for mobile (Android) i have the following thoughts:
- 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
- event with a fast connection it depends how much load other apps generate on the connection
- 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
Thanks for ansvering queation raven-works . Are there any solution in QT(C++, QML) side because our application is Qt .
Not that i am aware of.
But with the provided java class included into your app, you should be able to call it using
QAndroidJniObjectin a one-liner.
Thanks raven-works. This can be hehlpful for us.