Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

How to access network speed when playing video in Android Platform

, 25 Dec 2011
As MediaPlayer of Android has no API to know the buffering time, I just only access the speed of network via reading the linux proc file(/proc/net/dev) to enable the UI displaying the download speed

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

tojine
Engineer
China China
I am a software engineer with programming experience C/C++, MFC/Win32,Assembler(C51/ARM),Java and work in Science Park of ShenZhen City,the global manufacturer center,in China.
I like pingpong,basketball,bowling and table tennis sport.

| Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 25 Dec 2011
Article Copyright 2011 by tojine
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid