All Projects → qiniu → Android Netdiag

qiniu / Android Netdiag

Licence: mit
Network Diagnosis for Android

Programming Languages

java
68154 projects - #9 most used programming language

Network Diagnosis for Android

@qiniu on weibo Software License Build Status Latest Stable Version

中文

Summary

Network Diagnosis Library,support Ping/TcpPing/Rtmp/TraceRoute/DNS/external IP/external DNS。

Install

gradle

compile 'com.qiniu:android-netdiag:0.1.1'

Usage

Ping

Ping.start("www.baidu.com", 10, new TestLogger(), new Ping.Callback() {
            @Override
            public void complete(Ping.Result r) {
                ...
            }
        });

TcpPing

TcpPing.start("www.baidu.com", new TestLogger(), new TcpPing.Callback() {
            @Override
            public void complete(TcpPing.Result r) {
                ...
            }
        });

All Unit Test

./gradlew connectedAndroidTest

Faq

Contributing

Please Look atContributing Guide

Contributors

Contact us

  • If you find any bug, please submit issue
  • If you need any feature, please submit issue
  • If you want to contribute, please submit pull request

License

The MIT License (MIT). License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].