Overview¶
To use the Surfmeter Mobile Quality SDK, you generally need to perform two main steps:
- Register your client: This is a one-time setup process using your license key.
- Instantiate and run a Quality Test: Choose the appropriate test type for your needs (ExoPlayer, Video, or Web), configure it using its
Builder
, and then start the test.
This section provides links to detailed explanations for each of these steps and test types.
Demo Activity¶
A demo application is provided with the SDK to illustrate its usage. You can find it by unzipping the quality-sdk_demo_$version.zip
file. The most important files are the following:
MainActivity.java
:- Presents an EULA screen for the user to accept
- Handles permissions upon first launch
- Registers the client if needed
- Showcases how to initiate three different types of tests
ExoPlayerTestActivity.java
:- Initiates an
ExoPlayerQualityTest
with configurable parameters
- Initiates an
VideoTestActivity.java
:- Initiates a
VideoQualityTest
with configurable parameters - Includes background execution of the test via services
- Initiates a
WebTestActivity.java
:- Initiates a
WebQualityTest
- Initiates a
You can integrate these activities from the demo into your existing application or create a new one with our demo as a starting point. Ensure that you have correctly set up the SDK dependencies as outlined in the installation instructions.
If you need more information, refer to the specific pages for more detailed information on each aspect: