Skip to content
Library for measure your internet speed. [for android app]
Kotlin Java
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea no message Jan 12, 2018
.settings set language style in readme Jan 12, 2018
app set language style in readme Jan 12, 2018
gradle/wrapper init commit Jan 11, 2018
internet-speed-testing
screenshot edit readme Jan 11, 2018
.gitignore init commit Jan 11, 2018
.project set language style in readme Jan 12, 2018
README.md set language style in readme Jan 12, 2018
build.gradle -add kotlin conf Jan 11, 2018
gradle.properties init commit Jan 11, 2018
gradlew init commit Jan 11, 2018
gradlew.bat init commit Jan 11, 2018
settings.gradle add lib, add module Jan 11, 2018

README.md

Internet Speed Testing Library

This library base on https://github.com/bertrandmartel/speed-test-lib

To include in your project, add this to your build.gradle file:

//build.gradle [project module]

allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" }
    }
}
//build.gradle [app module]

implementation 'com.github.oatrice:internet-speed-testing:1.0.1'

Demo

Usage

InternetSpeedBuilder builder = new InternetSpeedBuilder(this);
builder.setOnEventInternetSpeedListener(new InternetSpeedBuilder.OnEventInternetSpeedListener() {
    @Override
    public void onDownloadProgress(int count, ProgressionModel progressModel) {

    }

    @Override
    public void onUploadProgress(int count, ProgressionModel progressModel) {

    }

    @Override
    public void onTotalProgress(int count, ProgressionModel progressModel) {
        adapter.setDataList(count, progressModel);

    }
});
builder.start("http://2.testdebit.info/fichiers/1Mo.dat", 2);

Contributing

Suggestions and pull requests are highly encouraged.

You can’t perform that action at this time.