You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
Hi,
Nice API. Can I use it to sample upload speed as well? Actually I want to use it to profile download speed, upload speed, along with time stamp and GPS info and save to a .csv file. Does it allow me enough flexibility to do that?
The text was updated successfully, but these errors were encountered:
You would need to modify DeviceBandwidthStats to read TrafficStats.getTotalTxBytes in addition to getTotalRxBytes (and store that in a separate counter). Timestamp should be obvious but GPS is out of scope of this library. Note that the strategy of this library is passive -- if your app isn't consuming data, it won't be updating any estimates.
Thanks. But what do you mean of Passive? All the file upload and file download process is there, so I will only getTotalBytes and divide it by the time elapsed?!
Isn't there any simpler ways? Basically speed data are being shown on the UI. Maybe I can just store them?
Hi,
Nice API. Can I use it to sample upload speed as well? Actually I want to use it to profile download speed, upload speed, along with time stamp and GPS info and save to a .csv file. Does it allow me enough flexibility to do that?
The text was updated successfully, but these errors were encountered: