qiniu-android-netdiag Library

Qiniu Network Diagnosis Library for Android

License

License

Categories

Categories

Net
GroupId

GroupId

com.qiniu
ArtifactId

ArtifactId

qiniu-android-netdiag
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

qiniu-android-netdiag Library
Qiniu Network Diagnosis Library for Android
Project URL

Project URL

https://github.com/qiniu/android-netdiag
Source Code Management

Source Code Management

https://github.com/qiniu/android-netdiag

Download qiniu-android-netdiag

How to add to project

<!-- https://jarcasting.com/artifacts/com.qiniu/qiniu-android-netdiag/ -->
<dependency>
    <groupId>com.qiniu</groupId>
    <artifactId>qiniu-android-netdiag</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.qiniu/qiniu-android-netdiag/
implementation 'com.qiniu:qiniu-android-netdiag:0.0.1'
// https://jarcasting.com/artifacts/com.qiniu/qiniu-android-netdiag/
implementation ("com.qiniu:qiniu-android-netdiag:0.0.1")
'com.qiniu:qiniu-android-netdiag:jar:0.0.1'
<dependency org="com.qiniu" name="qiniu-android-netdiag" rev="0.0.1">
  <artifact name="qiniu-android-netdiag" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.qiniu', module='qiniu-android-netdiag', version='0.0.1')
)
libraryDependencies += "com.qiniu" % "qiniu-android-netdiag" % "0.0.1"
[com.qiniu/qiniu-android-netdiag "0.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.

com.qiniu

Qiniu Cloud

Connect Data, Redefine Value.

Versions

Version
0.0.1