Changed, I have edited the post
In my case it is working. If you are connected to wifi and using the upload and download speed block it will surely return that.
Exactly.
Your extension will only work for Wifi connections.
Not really, also works for cellular data connections. I've been told that there are some minor bugs in the extension. I'm trying to fix them.
Version 2
What's New : Minor Bug Fixes, Added OnErrorOccured Event Block
Blocks
Download : xyz.nisarga.NetworkSpeed.aix (6.2 KB)
Nisarga, it's good to rename the blocks to GetBandwidthUploadSpeed
and for the other block accordingly, upload speed and upload bandwidth capacity are two different things
Okay. Thanks for letting me know, I will do it on the next update!!
It is not working properly. It show only one network speed.
Can you tell us how we can use this Extension??
Wdym by that?
This extension is working properly... Do you need a test aia?
Yes sure I need a demo Aia file.
This extension will not show you the true internet speed at which you download or upload data. This extension shows the maximum bandwidth of your hardware.
According to Stackoverflow,
Using NetworkInfo class, ConnectivityManager and TelephonyManager to determine your Network Type.
Download any file from the internet & calculate how long it took vs number of bytes in the file. ( Only possible way to determine Speed Check )
Link : java - Android: How to determine Network speed in android programmatically - Stack Overflow
Why this show only one speed. I want every time it show my network speed like speedmeter apps. Can it possible??
It's showing the speed in KBPS. It does not show same speed always.
As I wrote above, this extension is not for this... and it would be good if the author described exactly what this extension can do, because as you can see, users expect a test of the real speed of the Internet, and not the maximum speed of the network.
I already told this extension can determine your Network Speed.
I took some help from Stackoverflow, where it's clearly written that
Once @vknow360 shared the same Stackoverflow link in another community
Follow what official Android Docs says. Not StackOverflow
It's good to put a notice that it will give maximum bandwidth and not the speed.
The network speed must be checked by connecting to the server and sent data packets to it. Accordingly, we measure the speed by the time take to upload
instead of extensions i use webviewer and set the home url to www.speedtest.net
which is speed test website and you can check your speed in the app
there are so many disadvantages in your way