Skip to content

developercons/speedchecker-sdk-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

description
Developers guide

SpeedChecker SDK for Android

Free speed test features for your own app

SpeedChecker SDK for Android allows developers to integrate speed test features into their own apps. You can also try our app on Google Play, it's powered by the latest Speedchecker SDK version. More information about SpeedChecker SDKs

Features

  • latency, download and upload speed of the user connection
  • robust measuring of cellular, wireless, even local network
  • testing details like the current speed and progress
  • additional information like network type and location (see KPI list below in FAQ)
  • included high-capacity servers provided and maintained by Speedchecker or custom servers
  • detailed statistics and reports by Speedchecker

Requirements

  • minSdkVersion 16
  • compileSdkVersion 30
  • Location permissions

Installation

1. Update the "project level" gradle file.

allprojects {
   repositories {
       maven {
            url 'https://maven.speedcheckerapi.com/artifactory/libs-demo'
            credentials {
                username = "demo"
                password = "AP85qiz6wYEsCttWU2ZckEWSwJKuA6mSYcizEY"
            }
       }
   }
}

2. Update the "app level" gradle file.

implementation 'com.speedchecker:android-sdk:4.2.142-demo'

3. Initialize SpeedcheckerSDK inside the main activity.

public void onCreate() {
  super.onCreate();
  SpeedcheckerSDK.init(this);
}

4. Ask Location permissions.

SpeedcheckerSDK.askPermissions(this);

5. Implement the "SpeedTestListener" interface and override methods

An example below shows a new class with overriding methods but you could implement the interface at "MainActivity" or somewhere else.

import com.speedchecker.android.sdk.Public.SpeedTestListener;

public class SpeedTestCallbacks implements SpeedTestListener {
   @Override
   public void onTestStarted() {
         //your code here
   }
   @Override
   public void onFetchServerFailed() {
         //your code here
   }
   //… other methods here
}

6. Set implemented interface.

SpeedcheckerSDK.SpeedTest.setOnSpeedTestListener(new SpeedTestCallbacks());
OR
SpeedcheckerSDK.SpeedTest.setOnSpeedTestListener(this);

7. Start Speed test.

SpeedcheckerSDK.SpeedTest.startTest(this);

8. That's it! To get more information you can take a look at our Demo App

License

SpeedChecker is offering different types of licenses:

Items Free Basic Advanced
Speed Test Metrics Download / Upload / Latency Download / Upload / Latency Download / Upload / Latency / Jitter
Accompanying Metrics Device / Network KPIs Device / Network KPIs Device / Network KPIs / Advanced Cellular KPIs
Location Permission Required location permissions - -
Data Sharing Requirement Required data sharing - -
Measurement Servers - Custom measurement servers Custom measurement servers
Background and passive collection - - Background and Passive data collection
Cost FREE 1000 EUR per app per year Cost: Enquire

FAQ

Is the SDK free to use?

Yes! But the SDK collects data on network performance from your app and shares it with Speedchecker and our clients. Free SDK version requires enabled location. Those restrictions are not in Basic and Advanced versions

Do you have iOS SDK?

Yes! Please take a look at this repo

Do you provide free support?

No, we provide support only on Basic and Advanced plans

What are all the metrics or KPIs that you can get using our SDKs?

Free version of the SDK allows getting basic metrics which are described in this API documentation

Full list of our KPIs of Basic and Advanced versions

Do you host all infrastructure for the test?

Yes, you do not need to run any servers. We provide and maintain a network of high-quality servers and CDNs to ensure the testing is accurate. If you wish to configure your own server, this is possible on Basic and Advanced plans.

How do you measure the speed?

See our measurement methodology

What's next?

Please contact us for more details and license requirements. Also, you can download the latest framework version, the sample app to see detailed implementation in Xcode project as well as our Internet Speed Test application on App Store.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published