Comments (4)
Hrm, should be easy to add. I do have basic support for it in the underlying library:
from ion.
Oh, I can only do reads. Also, there's better ways to do this by directly reading process stats. That may be what you want to use, as it is much more accurate.
See /proc/self/net/dev
You should parse that.
from ion.
Thanks for the SOF reference, however, I'd like to provide network stats to my users. Not just to myself in a dev environment.
What do you mean by "I can only do reads." ?
Also, do you confirm onDataTransmitted is called with the numbers of bytes ?
from ion.
Not just to myself in a dev environment.
@BlasD I'm not following; why can't you parse the /proc/self/net/dev and present that to a user? I guess I don't understand what that dev node is missing.
What do you mean by "I can only do reads." ?
Right now, AndroidAsync/ion only tracks total amount of data downloaded, but not the total amount uploaded. Would need to make some changes to support that as well.
from ion.
Related Issues (20)
- how can set photo size in google map?
- How to send array via setBodyParameter
- Ion crash after upgrading Android Studio 4.1.1 - Ion version 3.1.0 HOT 4
- androidx
- Crash in Android gradle 4.1.1 HOT 3
- Unable to download in Android 11 : Not all data was consumed by Util.emitAllData
- Your app(s) are using an unsafe implementation of the HostnameVerifier interface. HOT 4
- java.lang.BootstrapMethodError / java.lang.NoClassDefFoundError HOT 1
- android 10 it doesn't work
- how to log the request body..?
- How can I send Korean with the get String?
- Event streaming - is there a way to implement or get the text at the "ProgressCallback"?
- Resoponse is not decompressed when response is in brotli format
- setCallback return void HOT 3
- System.err: error:10000065:SSL routines:OPENSSL_internal:ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT (external/boringssl/src/ssl/tls13_client.cc:337 0x7b6e4d005a:0x00000000)
- javax.net.ssl.SSLException: Fatal alert received protocol_version
- Non-fatal Exception: java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
- Should be future cancel after coroutine cancellation?
- Connection closed before full header was received
- Please guide Local dependency without Ant
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion.