|
Triton Mobile SDK for Android 3.5.1
This is a custom android player made by Triton Digital
|
This project is a runnable sample application that demonstrates how to integrate and use the Triton Digital® Mobile SDK for Android. It shows the most common use cases — live station playback, on-demand stream playback, multi-station switching, side-band metadata (SBM) and cue points, cue-point history, Google Cast, and on-demand advertising (banners and interstitials).
The sample links against the SDK as a packaged .aar (see How the SDK is referenced), so it builds and runs exactly the way an external integrator would consume the SDK.
A core goal of this SDK — and of this sample — is to stay current with the latest Android tooling and dependencies, so your app benefits from the newest platform features, performance improvements, and security fixes. Both the SDK and this sample are kept up to date with:
Dependency versions are centralized in a Gradle version catalog (gradle/libs.versions.toml) to make staying current straightforward.
| Component | Version |
|---|---|
| Triton Android SDK | 3.6.2 |
| Min SDK | API 23 (Android 6.0 Marshmallow) |
| Compile / Target SDK | API 37 |
| Java | 17 |
| Gradle | 9.5.1 |
| Android Gradle Plugin | 9.2.1 |
| Media3 / ExoPlayer | 1.10.1 |
| AndroidX AppCompat | 1.7.1 |
These are the versions this sample was released with. The SDK and sample track the latest stable releases, so newer versions may apply to later SDK builds.
Open the project in Android Studio (File → Open, then select this folder) and click Run
The SDK ships as a single .aar located in sample/libs/. The sample resolves it via a flatDir repository, using the artifact name provided by the TRITON_SDK Gradle property (set in this project's gradle.properties):
Because the SDK exposes some of its dependencies as implementation (not api), the app declares a few of them directly (e.g. AppCompat, Media3, Play Services Cast). All of these are managed through the version catalog in gradle/libs.versions.toml.
The sample is organized by feature, with one Activity per use case:
For full API documentation and integration guidance, see the Triton Digital® Mobile SDK for Android documentation included with the SDK release.