---
title: Bandwidth sharing SDK for apps and fleets
description: The Android library and the agent for desktops and fleets, as they stand today: what your users must see and agree to, how earnings are attributed, each step.
label: Bandwidth sharing SDK
template: article
audience: device-owners
updated: 2026-12-01
#facts:begin agent.supply
agent:
  instructions: "Search the documents of this site by keywords or a question. Send the text as q and read the Markdown that comes back: the passages that match, each under its source address and score. Nothing is generated."
  endpoint: "https://supply.coronium.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://supply.coronium.ai/guides/search.md"
#facts:end agent.supply
---

# Bandwidth sharing SDK for apps, devices and fleets

Coronium has two ways to put bandwidth sharing into a product: an Android library for an app whose purpose is sharing, and the agent itself for desktops, device products and fleets. This page states each as it stands today.

The Android library is `preview` and cannot ship to users yet: its notice to the user is not approved.

## The Android library, as it stands

The Android library lets the user of your app share the phone's connection. `/kit/index.json` lists it as `preview`, with three limits:

- `sharing_apps_only`: it is only for an app whose stated main purpose is sharing its user's connection. It never ships inside a game, a utility or any other app. [Store declarations](/guides/device-android-store.md) says where such an app may ship.
- `notice_proposed`: the notice the library shows its user is proposed and not approved. Until it is, this site enrols no device from an app, and an app that is not debuggable opens no consent screen.
- `container_run_only`: it was run end to end on a development Android instance, never on a phone.

So today you can build with the library and test it in a debuggable app. [The Android library](/guides/device-android-sdk.md) has the dependency, the calls and the states.

## Desktops, home servers and fleets: the agent and enrolment by token

A desktop app, a device product or a fleet runs the same agent a device owner runs: the Linux kit, the Docker image, the Windows program or the program alone. Each device must sit on a home or mobile network. A machine in a data centre earns nothing.

For many devices, enrolment by token lets each device enrol itself. The device holds no session and no access code, and no device secret crosses the network. The token routes answer `enrol_tokens_off` until the operator opens them, and an app token answers `app_devices_off`. Until then your account adds each device with `POST /app/api/devices`. [Many devices](/guides/device-tokens.md) has the calls.

## What your users must be shown and agree to

In an Android app, the library does this itself, and your app may not change it:

- Only the user turns sharing on, on a screen the library shows, with the sharing notice unchanged. `/kit/APP-NOTICE.md` is that notice.
- Your app cannot turn sharing on, hide it, restyle or shorten the notice, accept it for the user or bring it back after a no. It may always turn sharing off.
- No other feature of your app may depend on sharing.
- While the phone shares, a notification says so and carries `Turn off`.
- The phone shares only while it charges and its network is not metered: not on mobile data, not while roaming and not through a VPN.
- The notice states a daily limit. Your app may lower it and may never raise it.
- Your privacy policy, your store listing and your app name the sharing and what Coronium receives.
- An app aimed at children may not hold the library.

For desktops and fleets, the account that mints a token signs the partner agreement, and every device added with that token is added by that account. You need the yes of each device's owner, and everyone who uses the connection must know that it is shared.

## How earnings are attributed

- Every device enrolled under your account, by token or one by one, earns for your account. Your statement lists each day, device and country with the bytes, what buyers paid and your share.
- Each device earns the share in your account's terms, which `terms.shareBp` of `GET /app/api/earnings` answers. There is no payment per install or per active user, and no referral or bonus scheme.
- Rewards to your users are yours to pay. Keep each device id beside your own user. A reinstall is a new id.
- `GET /app/api/devices` filters devices by `token` and by `app`, and counts them for each app.
- The edge alone meters. The library's own daily count is a stop on the phone and is sent nowhere.

## Integration steps

<!-- kit:steps -->
1. Make the account and sign the partner agreement: [enrolment](/guides/device-enrol.md).
2. Choose the file for each system and check its digest: [the agent files](/guides/device-files.md).
3. Run it: [the Linux kit](/guides/device-linux-kit.md), [a container](/guides/device-docker.md), [Windows](/guides/device-windows.md), [macOS](/guides/device-macos.md) or [the program alone](/guides/device-program.md).
4. For many devices, mint a token and let each device enrol itself: [many devices](/guides/device-tokens.md).
5. In an Android app, add the library and read the store rules: [the Android library](/guides/device-android-sdk.md) and [store declarations](/guides/device-android-store.md).
6. Watch each device's state and health: [device states](/guides/device-states.md) and [device health](/guides/device-health.md).
7. Read what each device earned and how it is paid: [the statement guide](/guides/device-payouts.md).
<!-- /kit:steps -->

[Every integration in one file](/guides/integrate.md) holds all of these in order, as Markdown for you or for an AI agent. [The API document](/openapi.json) has every call, and [the index for agents](/llms.txt) says which file answers which question.

## What is on request

<!-- kit:callout on-request -->
These are not open to every account today. Write to Coronium at the contact the partner agreement names, and say what you need.

- Shipping the Android library to real users, which waits for the approved notice.
- Enrolment by token, while its routes answer `enrol_tokens_off`.
- More devices than a new account may hold.
- A library for another platform, such as a smart TV or a desktop app. None is built.

There is no iOS library, and none is planned: the platform's review rules do not allow it.
<!-- /kit:callout -->

What sharing means for the person whose connection it is, and what a device earns, is on [the bandwidth sharing page](/bandwidth-sharing). To start, [create an account](/signup).

<!-- facts:begin sentence -->
Mobile and residential proxies for AI agents: real IP addresses on real devices, and next the phones, Macs and browsers an agent can drive.

One account, one balance, one file to read.
<!-- facts:end sentence -->
