0

I am working on a backup application. For upload and download I need to check the current internet speed on the device. I am searching if their is any API in android to find out the download and upload speed. Above API level 21, I found one class NetworkCapabilities for this purpose, but how to get it for API below 21.

Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
rohit
  • 31
  • 4

1 Answers1

0

The connection class in https://github.com/facebook/network-connection-class can potentially give this information, but you are better off writing your own checker, as the speed depends on too many factors (including the path to the server you are trying to access)

Prabindh
  • 3,356
  • 2
  • 23
  • 25