Satellite connectivity is becoming an important part of mobile networking, especially in places where traditional cellular and Wi-Fi coverage is unavailable. It can help users stay connected in remote locations, rural areas, mountains, forests, and other places where terrestrial networks have limited coverage.
Android supports satellite connectivity at the platform level. However, developers should understand that a satellite connection does not always behave like a normal 4G or 5G connection.
A conventional mobile network can usually handle several application activities at the same time, such as downloading images, synchronizing data, loading web pages, and receiving notifications. A constrained satellite network may have limited bandwidth, higher latency, and less predictable availability.
This creates a different set of engineering requirements.
For example, a messaging application may work well over a constrained satellite connection because it sends relatively small amounts of data. A video application that continuously downloads high-resolution content may not provide a satisfactory experience.
Android provides mechanisms that allow developers to identify their applications as optimized for constrained satellite networks, detect network capabilities, and change application behavior when bandwidth is limited.
In this article, we will understand how Android satellite networking works, how to enable constrained satellite network access, how to detect network conditions using ConnectivityManager, and how to optimize API requests, background synchronization, and Firebase Cloud Messaging for limited connectivity.
Understanding Satellite Connectivity in Android
A satellite network provides connectivity through satellites instead of relying entirely on terrestrial cellular towers.
In mobile applications, this is commonly associated with Non-Terrestrial Networks (NTNs).
A traditional cellular network connects a phone to a nearby cell tower. A satellite-based network provides a connection through satellite infrastructure, which may communicate with a ground station or other network infrastructure before reaching the internet.
The exact architecture depends on the satellite provider, modem, device, and carrier configuration.
Android has supported satellite connectivity at the platform level since Android 15. This support allows device manufacturers and network operators to integrate satellite connectivity with Android's telephony and networking frameworks.
However, Android does not guarantee that every device can use satellite connectivity.
The device must have compatible hardware, modem support, system configuration, and carrier or satellite-provider support.
How Android Handles Satellite Connectivity
Android integrates satellite functionality into its telephony framework.
A simplified architecture looks like this:
Android Application
|
v
Android Connectivity Framework
|
v
Telephony Satellite Framework
|
v
Satellite Modem / Hardware
|
v
Satellite Network
|
v
Ground Infrastructure
|
v
Internet or Supported Services
Each layer has a different responsibility.
Component | Responsibility |
|---|
Android application | Sends and receives application data |
Connectivity framework | Manages network availability and routing |
Telephony framework | Coordinates cellular and satellite connectivity |
Satellite modem | Communicates with the satellite network |
Satellite provider | Provides the actual satellite service |
Ground infrastructure | Connects satellite traffic with other networks and services |
For an ordinary application developer, the important point is that Android manages the underlying satellite connection.
You do not need to implement satellite communication protocols or communicate directly with the satellite modem.
Your responsibility is to make sure that the application behaves appropriately when Android provides a constrained network.
What Is a Constrained Satellite Network?
A constrained satellite network is a satellite-based network where available data capacity is limited.
The term constrained refers to the network's data limitations rather than simply its physical connection type.
A constrained connection may have:
Lower download throughput.
Lower upload throughput.
Higher latency.
Variable response times.
Limited data capacity.
Intermittent availability.
Longer delays between network operations.
These conditions affect how an application should communicate with its backend.
Consider a mobile application that normally downloads a dashboard containing 20 images, several API responses, and user activity information.
On a regular broadband or cellular connection, this may work without noticeable problems.
On a constrained satellite connection, downloading all that information may take considerably longer and consume valuable network capacity.
The application should therefore prioritize essential information and postpone unnecessary downloads.
Constrained and Unconstrained Satellite Networks
Android distinguishes between constrained and unconstrained network conditions.
This distinction is important because not every satellite connection has the same limitations.
Network condition | Description | Application behavior |
|---|
Constrained satellite | Limited bandwidth and network capacity | Reduce data usage and prioritize essential operations |
Unconstrained satellite | Satellite connection without the bandwidth-constrained restriction | Normal data access may be available, subject to provider conditions |
Terrestrial cellular | Conventional mobile network | Use normal application networking behavior |
Wi-Fi | Wireless local network with internet access | Use normal behavior based on actual network capabilities |
An unconstrained satellite connection should not automatically be treated as a constrained connection.
However, Google recommends that applications continue to consider satellite transport when optimizing their behavior because satellite networks can still have characteristics that differ from terrestrial networks.
Why Android Applications Do Not Automatically Use Constrained Satellite Networks
One important detail is that Android applications do not automatically receive access to constrained satellite networks.
Applications must explicitly identify themselves as optimized for satellite data usage.
This requirement exists because many applications are not designed for limited network conditions.
For example:
A messaging application can send small text messages.
A navigation application can download selected map information.
A document application can synchronize small changes.
A video streaming application may continuously download large media segments.
A backup application may upload hundreds of megabytes.
Allowing every application to use a constrained network without considering its data requirements could consume the available capacity quickly.
Android therefore provides an opt-in mechanism.
Step 1: Identify the Application as Satellite Optimized
The first step is to update the application's AndroidManifest.xml file.
Add the PROPERTY_SATELLITE_DATA_OPTIMIZED metadata inside the application element.
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:allowBackup="true"
android:label="SatelliteReadyApp"
android:theme="@style/Theme.SatelliteReadyApp">
<meta-data
android:name="android.telephony.PROPERTY_SATELLITE_DATA_OPTIMIZED"
android:value="com.example.satellitereadyapp" />
</application>
</manifest>
Replace the example package name with your application's actual package name.
For example, if the application ID is:
defaultConfig {
applicationId = "com.mycompany.mobileapp"
}
Then the metadata value should be:
<meta-data
android:name="android.telephony.PROPERTY_SATELLITE_DATA_OPTIMIZED"
android:value="com.mycompany.mobileapp" />
What Does This Metadata Do?
This metadata tells Android that the application has been designed to work with constrained satellite data.
It serves two important purposes.
First, it allows the application to use a constrained satellite network when that network is the only available connection and the platform makes it available.
Second, it informs the system that the application is optimized for satellite usage. Android can use this information when presenting satellite-enabled applications through relevant system settings.
Adding this metadata does not create a satellite connection.
It also does not guarantee that the application will receive satellite connectivity on every device.
The device, modem, carrier, and satellite service must support the feature.
Should a Library Add This Metadata?
No. If you are developing a reusable Android library, do not add this metadata on behalf of every application that uses the library.
The final application developer should decide whether the complete application is optimized for constrained satellite networks.
For example, a networking library may support small requests and efficient transfers, but the application using that library may still download large videos or perform heavy background synchronization.
Satellite optimization is an application-level responsibility.
Step 2: Understand NetworkCapabilities
After opting into constrained satellite networking, the next task is to detect the type of network currently available.
Android provides ConnectivityManager and NetworkCapabilities for this purpose.
ConnectivityManager manages network connections and provides information about available networks.
NetworkCapabilities describes what a particular network can do.
It contains information such as:
Whether the network provides internet access.
Whether the network is metered.
Whether bandwidth is constrained.
Which transport type is being used.
Whether the network is validated.
Two capabilities are particularly important for satellite optimization:
Understanding NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
This capability indicates that the network is not bandwidth-constrained.
It is present by default on networks that are not marked as bandwidth-constrained.
When Android identifies a network as bandwidth-constrained, this capability is removed.
Therefore, the application can use the following logic:
val isBandwidthConstrained =
!capabilities.hasCapability(
NetworkCapabilities.NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
)
If the result is true, the application should consider enabling its reduced-data behavior.
Understanding TRANSPORT_SATELLITE
Android also provides a satellite transport identifier.
val isSatellite =
capabilities.hasTransport(
NetworkCapabilities.TRANSPORT_SATELLITE
)
This tells the application whether the network uses satellite transport.
Why should developers check both values?
Because a satellite network can be either constrained or unconstrained.
For example, a satellite network may not have the bandwidth-constrained capability removed, but the application should still consider its data usage because the connection uses satellite transport.
The recommended detection logic is therefore:
val useOptimizedMode =
!capabilities.hasCapability(
NetworkCapabilities.NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
) ||
capabilities.hasTransport(
NetworkCapabilities.TRANSPORT_SATELLITE
)
This means the application enables optimized behavior when either:
This is more reliable than checking only whether the device is connected to a satellite network.
Step 3: Request Networks That Allow Constrained Connectivity
There is another important detail when working with NetworkRequest.
By default, a NetworkRequest includes the NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED capability.
This means a normal request generally excludes networks that are marked as bandwidth-constrained.
For example:
val request = NetworkRequest.Builder()
.addCapability(
NetworkCapabilities.NET_CAPABILITY_INTERNET
)
.build()
This request asks Android for an internet-capable network that is not bandwidth-constrained.
If the application wants constrained networks to be acceptable, it must remove that capability from the request.
val request = NetworkRequest.Builder()
.addCapability(
NetworkCapabilities.NET_CAPABILITY_INTERNET
)
.removeCapability(
NetworkCapabilities.NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
)
.build()
This is an important difference.
Removing the capability does not force Android to connect through satellite.
It simply tells Android that the application is willing to use an internet network even when bandwidth is constrained.
Android still manages the actual network selection and availability.
Step 4: Detect Satellite and Constrained Network Changes
Network conditions can change while an application is running.
For example:
The user starts using the application on Wi-Fi.
Wi-Fi becomes unavailable.
The device connects to cellular.
Cellular coverage disappears.
A supported satellite connection becomes available.
The device returns to cellular coverage.
The application should not assume that the network remains unchanged throughout its lifetime.
Use ConnectivityManager.NetworkCallback to monitor network changes.
The following example demonstrates how to register a callback and detect constrained or satellite connectivity.
Create a Network Monitor
import android.content.Context
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities
import android.net.NetworkRequest
import android.os.Handler
import android.os.HandlerThread
import android.util.Log
class SatelliteNetworkMonitor(
context: Context,
private val onNetworkModeChanged: (Boolean) -> Unit
) {
private val connectivityManager =
context.getSystemService(
ConnectivityManager::class.java
)
private val handlerThread =
HandlerThread("SatelliteNetworkMonitor").apply {
start()
}
private val handler = Handler(
handlerThread.looper
)
private var currentOptimizedMode: Boolean? = null
private val networkCallback =
object : ConnectivityManager.NetworkCallback() {
override fun onCapabilitiesChanged(
network: Network,
capabilities: NetworkCapabilities
) {
val bandwidthConstrained =
!capabilities.hasCapability(
NetworkCapabilities.NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
)
val satellite =
capabilities.hasTransport(
NetworkCapabilities.TRANSPORT_SATELLITE
)
val optimizedMode =
bandwidthConstrained || satellite
Log.d(
"SatelliteMonitor",
"Satellite: $satellite, " +
"Bandwidth constrained: $bandwidthConstrained"
)
if (currentOptimizedMode != optimizedMode) {
currentOptimizedMode = optimizedMode
onNetworkModeChanged(
optimizedMode
)
}
}
override fun onLost(network: Network) {
Log.d(
"SatelliteMonitor",
"Network lost: $network"
)
}
}
fun start() {
val request = NetworkRequest.Builder()
.addCapability(
NetworkCapabilities.NET_CAPABILITY_INTERNET
)
.removeCapability(
NetworkCapabilities.NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED
)
.build()
connectivityManager.registerBestMatchingNetworkCallback(
request,
networkCallback,
handler
)
}
fun stop() {
connectivityManager.unregisterNetworkCallback(
networkCallback
)
handlerThread.quitSafely()
}
}
Understanding the Implementation
There are several important parts of this class.
1. ConnectivityManager
The application obtains ConnectivityManager from the Android system.
It is responsible for monitoring available networks and registering callbacks.
2. HandlerThread
The callback is registered with a background Handler.
This keeps network-monitoring work away from the main UI thread.
3. NetworkRequest
The request requires internet connectivity but removes the default bandwidth-unconstrained requirement.
This allows constrained internet networks to be considered.
4. onCapabilitiesChanged()
Android calls this method when the capabilities of the matching network change.
The application checks both the bandwidth-constrained capability and satellite transport.
5. State-change callback
The application receives a Boolean indicating whether optimized network behavior should be enabled.
It can then change API request priorities, disable automatic downloads, or postpone large uploads.
Important Considerations
The example demonstrates the monitoring pattern. A production implementation should also handle registration failures and unregister the callback when the owning component is finished.
Use one application-level monitor rather than creating a new network callback every time an Activity is opened.
Also, the network callback reports capabilities for the matching network. It does not guarantee that every socket created by the application automatically uses that exact Network object.
If your application uses a custom networking architecture with multiple network bindings, review the routing behavior separately.
Step 5: Adapt Application Behavior When Satellite Connectivity Is Detected
Detecting a satellite connection is only useful when the application changes its behavior appropriately.
Consider a shopping application.
Under normal connectivity, the application might:
Load product images automatically.
Fetch product recommendations.
Synchronize browsing history.
Refresh promotional banners.
Download additional product information.
On a constrained satellite connection, these operations should not all run automatically.
Instead, the application should prioritize essential functionality.
For example:
Feature | Normal network | Constrained satellite network |
|---|
Product information | Full response | Essential fields only |
Product images | Multiple image sizes | Small thumbnails or manual loading |
Search | Full suggestions | Basic search results |
Recommendations | Automatic refresh | Postpone |
Cart synchronization | Immediate | Small queued updates |
Promotional videos | Available | Disabled |
Analytics | Normal batching | Small delayed batches |
Background downloads | Allowed based on policy | Postpone |
This is the practical meaning of satellite optimization.
The application should not simply continue performing every operation and hope that the network can handle it.
Step 6: Reduce API Payload Size
One of the most effective ways to improve performance on a constrained network is to reduce the amount of data sent between the application and backend.
Consider a typical API response for a product listing.
{
"productId": 101,
"name": "Wireless Headphones",
"description": "Wireless headphones with noise cancellation and long battery life.",
"price": 2499,
"currency": "INR",
"rating": 4.5,
"reviewCount": 1250,
"imageUrl": "https://example.com/images/headphones-large.jpg",
"videoUrl": "https://example.com/videos/headphones-demo.mp4",
"relatedProducts": [
{
"productId": 102,
"name": "Travel Case"
}
]
}
This response may be appropriate for a normal connection.
However, a constrained connection may only need the product ID, name, price, and a small thumbnail.
A separate lightweight response could look like this:
{
"productId": 101,
"name": "Wireless Headphones",
"price": 2499,
"currency": "INR"
}
The application can retrieve the remaining information when a better network becomes available or when the user explicitly requests it.
Use a Lightweight API Response
You can introduce a response mode in your backend.
For example, an ASP.NET Core endpoint might accept a lightweight parameter.
[HttpGet("products")]
public async Task<IActionResult> GetProducts(
[FromQuery] bool lightweight = false)
{
if (lightweight)
{
var products = await _service.GetBasicProducts();
return Ok(products);
}
var fullProducts = await _service.GetProducts();
return Ok(fullProducts);
}
The Android application can then request the appropriate response.
val url = if (isSatelliteMode) {
"$BASE_URL/products?lightweight=true"
} else {
"$BASE_URL/products"
}
For a larger application, it is better to define explicit response models or API versions rather than adding many Boolean parameters to every endpoint.
The important idea is to let the server return only the information required for the current network condition.
Step 7: Compress Data Before Sending It
Compression reduces the amount of data transferred over a network.
It is useful for:
For example, an API response containing thousands of records may become significantly smaller when compressed using gzip or Brotli.
A server can enable response compression in ASP.NET Core:
builder.Services.AddResponseCompression(options =>
{
options.EnableForHttps = true;
});
var app = builder.Build();
app.UseResponseCompression();
The client and server negotiate supported compression through HTTP headers.
For JSON and text-heavy APIs, compression is often a useful optimization.
However, already compressed formats such as JPEG, WebP, MP4, and ZIP files may not become significantly smaller through another compression layer.
For these formats, choose the correct media quality and file size instead.
Step 8: Implement Request Prioritization
Not every API request has the same importance.
For example, a messaging application may have the following operations:
Sending a text message.
Downloading a profile image.
Uploading an attachment.
Synchronizing old conversation history.
Downloading video content.
On a constrained satellite network, the application should prioritize the first operation.
A simple priority model can help organize requests.
enum class RequestPriority {
CRITICAL,
HIGH,
NORMAL,
LOW
}
A request queue can then decide which operations should run first.
For example:
data class PendingRequest(
val id: String,
val priority: RequestPriority,
val payload: ByteArray
)
A simple ordering function might look like this:
fun priorityValue(
priority: RequestPriority
): Int {
return when (priority) {
RequestPriority.CRITICAL -> 0
RequestPriority.HIGH -> 1
RequestPriority.NORMAL -> 2
RequestPriority.LOW -> 3
}
}
The application can process critical requests before optional downloads.
However, priority alone is not enough.
The request scheduler should also consider:
Whether the network is available.
Whether the request has expired.
Whether the request is safe to retry.
Whether a newer request has replaced an older one.
Whether the user has explicitly requested the operation.
For example, if the user changes their profile image several times while offline, the application usually needs to upload only the latest selected image.
There is no reason to upload every intermediate image.
Step 9: Avoid Frequent Polling
Polling means repeatedly calling a server to check whether something has changed.
For example:
while (true) {
fetchLatestMessages()
delay(5000)
}
This approach is not suitable for constrained satellite networks.
Every request consumes network capacity, even when the server has no new information.
It can also waste battery and create unnecessary latency.
Instead, consider the following alternatives:
Use push notifications for important updates.
Batch synchronization requests.
Increase polling intervals when bandwidth is constrained.
Synchronize only when the user opens the relevant screen.
Use incremental synchronization.
Avoid repeatedly downloading unchanged information.
For example, a messaging application can synchronize only messages received after the last known message ID.
data class MessageSyncRequest(
val conversationId: String,
val lastMessageId: String?
)
The backend can return only the new messages instead of sending the complete conversation history.
This can significantly reduce network usage.
Step 10: Support Firebase Cloud Messaging on Constrained Networks
Firebase Cloud Messaging (FCM) is commonly used to deliver notifications and data messages to Android applications.
However, applications should understand that messages intended for normal networks are not automatically treated as suitable for constrained satellite connections.
Android's constrained satellite network guidance provides a specific FCM option:
bandwidth_constrained_ok
This flag tells FCM that a particular message is allowed to be delivered when the device is connected through a constrained network.
Without this flag, FCM delivers the message only when the device is connected through an unconstrained network.
Example FCM HTTP v1 Payload
Consider a messaging application that sends a small text notification.
The backend can send the following payload:
{
"message": {
"token": "FCM_DEVICE_TOKEN",
"notification": {
"title": "New Message",
"body": "You have received a new message."
},
"android": {
"bandwidth_constrained_ok": true
}
}
}
The important property is:
"bandwidth_constrained_ok": true
This indicates that the message is suitable for delivery over a constrained network.
Only set this flag when the corresponding application has been optimized for constrained satellite connectivity.
Do not enable it for every notification automatically.
For example, a notification that only tells the user that a new message exists is small and useful.
A notification that triggers a large background download may not be suitable.
Which FCM Messages Should Be Allowed?
Message type | Suitable for constrained delivery? |
|---|
New text message notification | Generally yes |
Emergency status update | Yes, when essential to the application |
Small synchronization notification | Usually yes |
Large media download trigger | Usually no |
Promotional content notification | Usually no |
Video attachment notification | Depends on the required follow-up operation |
FCM delivery does not mean that the complete application workflow will succeed.
For example, the notification may arrive successfully, but downloading a large attachment may still fail or take a long time.
Keep the notification payload small and separate it from the actual content download.
Step 11: Queue Operations When Connectivity Is Unavailable
Satellite connections may not remain available continuously.
A device may temporarily lose satellite visibility or move into an area where the connection cannot be established.
The application should therefore support offline operations.
For example, a user may compose a message while disconnected.
Instead of immediately failing, the application can save the message locally and send it when an eligible network becomes available.
Room is a suitable option for storing pending operations.
A simple entity might look like this:
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "pending_operations")
data class PendingOperation(
@PrimaryKey(autoGenerate = true)
val id: Long = 0,
val operationType: String,
val payload: String,
val createdAt: Long,
val retryCount: Int = 0
)
When the application detects a suitable connection, it can process pending operations.
For reliable background synchronization, WorkManager can be used.
However, WorkManager does not guarantee immediate execution. It schedules work according to system conditions and battery policies.
A constrained network can also be available for only a limited period.
Therefore, the application should keep operations small and make them safe to retry.
Use Idempotency for Important Operations
Suppose an application sends a payment request.
The request reaches the server, but the response is lost because the satellite connection disappears.
The application cannot know whether the payment was completed.
If it sends the same request again without protection, the user may be charged twice.
Use an idempotency key for operations that must not be repeated.
{
"requestId": "payment-20261204-001",
"idempotencyKey": "unique-operation-key",
"amount": 2500,
"currency": "INR"
}
The backend should recognize the key and return the previous result instead of executing the same operation again.
This is an important reliability requirement for applications operating on unstable networks.
Step 12: Handle Higher Latency and Network Timeouts
A common mistake is using the same timeout configuration for every network.
A request that completes quickly over Wi-Fi may take considerably longer over a satellite connection.
For example, consider an application that uses a five-second timeout for every API request.
If a satellite network takes longer to establish the connection or complete the request, the application may report unnecessary failures.
A better approach is to configure timeouts according to the operation.
Operation | Timeout strategy |
|---|
Small text request | Moderate timeout |
Large file upload | Longer timeout with progress tracking |
Background synchronization | Retryable operation with backoff |
Critical transaction | Explicit server confirmation and idempotency |
Optional image download | Allow cancellation and defer when necessary |
With OkHttp, you can configure the timeout values.
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
val satelliteClient = OkHttpClient.Builder()
.connectTimeout(30, TimeUnit.SECONDS)
.readTimeout(60, TimeUnit.SECONDS)
.writeTimeout(60, TimeUnit.SECONDS)
.callTimeout(90, TimeUnit.SECONDS)
.build()
These values are examples, not universal satellite-network settings.
Choose appropriate values based on actual network testing and the expected size of the operation.
Also, avoid increasing every timeout indefinitely.
A request should still have a reasonable maximum duration and a cancellation strategy.
Step 13: Implement Retry With Exponential Backoff
Repeatedly retrying a failed request every second is not a good strategy for constrained networks.
It can increase network traffic and make congestion worse.
Use exponential backoff instead.
For example:
fun calculateRetryDelay(
retryCount: Int
): Long {
val initialDelay = 5_000L
val maximumDelay = 300_000L
val exponentialDelay =
initialDelay * (1L shl retryCount.coerceAtMost(6))
return exponentialDelay.coerceAtMost(
maximumDelay
)
}
The delay increases with each retry until it reaches the configured maximum.
In production, add random jitter so that many devices do not retry at exactly the same time.
Also, retry only operations that are safe to repeat.
For example, retrieving a product list is generally safe to retry. Submitting a payment or creating an order requires backend-side idempotency.
Step 14: Optimize Images and Media
Images and videos can consume more data than most API requests.
A mobile application that downloads large images automatically may perform poorly on a constrained network.
Consider a product image that is 2 MB.
If the application loads 20 such images, the total download is approximately 40 MB.
This is unnecessary when the user only needs to see a basic product listing.
Use smaller thumbnails and load full-resolution images only when requested.
For image optimization, consider:
WebP or AVIF where supported.
Appropriate image dimensions.
Compression quality.
Lazy loading.
Caching.
Avoiding duplicate downloads.
Loading full-resolution images only on demand.
For video applications, consider adaptive bitrate streaming.
The player should select a lower-quality stream when network conditions require it.
However, a constrained satellite connection may be unsuitable for video streaming altogether. The application should be willing to disable video playback and explain the limitation rather than repeatedly attempting a download that cannot complete.
Step 15: Understand Satellite Connectivity and SatelliteManager
Android also provides SatelliteManager for applications and system components that need to interact with satellite-related platform functionality.
It can expose information about satellite state and support operations such as provisioning, pointing, messaging, and location sharing, depending on the device and system implementation.
To obtain the service:
import android.content.Context
import android.telephony.satellite.SatelliteManager
val satelliteManager =
context.getSystemService(
Context.SATELLITE_SERVICE
) as? SatelliteManager
However, ordinary applications that only need to optimize their internet requests do not need to use SatelliteManager.
For most application networking tasks, ConnectivityManager and NetworkCapabilities are sufficient.
SatelliteManager is intended for supported devices that expose the required telephony satellite feature.
Before using satellite-specific functionality, check whether the device supports it:
import android.content.pm.PackageManager
fun supportsSatellite(context: Context): Boolean {
return context.packageManager.hasSystemFeature(
PackageManager.FEATURE_TELEPHONY_SATELLITE
)
}
A false result means the device does not advertise the required satellite telephony feature.
Do not assume that every Android phone supports SatelliteManager simply because it runs Android 15 or later.
Step 16: Test Satellite Network Behavior
Testing satellite connectivity requires more than checking whether an API request succeeds.
You should test the application under different bandwidth and latency conditions.
The objective is to understand how the application behaves when the network is slow, unstable, or temporarily unavailable.
Test 1: Enable Satellite-Optimized Mode
Add the satellite optimization metadata to the application manifest.
Install the application on a supported device or test environment.
Verify that the application is correctly configured to opt into constrained satellite networking.
Test 2: Test Network Detection
Use a test environment that can simulate constrained network conditions.
Verify that the application detects the removal of NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED.
Also verify that satellite transport detection activates optimized behavior.
Test 3: Simulate Low Bandwidth
Android Studio's emulator provides network speed and latency controls.
You can use Developer Options or emulator network configuration to limit throughput.
For example, test with:
Test profile | Download speed | Upload speed |
|---|
Normal mobile | 10 Mbps | 5 Mbps |
Limited connection | 512 Kbps | 256 Kbps |
Very limited connection | 128 Kbps | 64 Kbps |
These are illustrative test profiles, not guaranteed satellite-network speeds.
The goal is to observe application behavior at different capacity levels.
Test 4: Introduce Latency
Test with higher network latency.
For example:
100 ms.
300 ms.
600 ms.
1,000 ms.
Observe how the application handles API requests, retries, loading indicators, and user interactions.
Test 5: Disconnect the Network
Disable the network while an operation is in progress.
Verify that:
The application does not crash.
Pending operations are saved.
Duplicate requests are prevented.
The user receives a clear status.
Synchronization resumes when connectivity returns.
Test 6: Test FCM Delivery
Send an FCM message with bandwidth_constrained_ok enabled.
Verify that the application can process the notification without immediately downloading large resources.
Test 7: Test on Actual Supported Hardware
An emulator can simulate network constraints, but it does not fully reproduce satellite hardware, carrier provisioning, satellite visibility, or modem behavior.
Complete testing on supported devices and services before claiming satellite compatibility.
Common Mistakes When Supporting Satellite Networks
Assuming Satellite Connectivity Is Available on Every Android Device
Android platform support does not mean that every phone has compatible satellite hardware or carrier service.
Check device capabilities and test with supported devices.
Adding the Manifest Metadata Without Optimizing the Application
The metadata only identifies the application as optimized for constrained satellite networks.
It does not reduce API payload sizes or automatically disable large downloads.
Developers must implement those changes themselves.
Checking Only the Satellite Transport
An unconstrained satellite network may not have the bandwidth-constrained capability removed.
However, it is still useful to consider satellite transport when selecting data-efficient behavior.
Check both network capabilities and transport.
Using the Default Network Request
A normal NetworkRequest includes the not-bandwidth-constrained capability.
If the application needs to accept constrained networks, remove that capability from the request.
Downloading Large Files Automatically
Large images, videos, and backups can consume valuable network capacity.
Use lazy loading, compression, and explicit user actions.
Retrying Requests Too Frequently
Repeated requests can waste bandwidth and increase congestion.
Use exponential backoff and retry only when appropriate.
Assuming FCM Delivery Means Data Synchronization Is Complete
FCM may deliver a small notification, but the application may still need to retrieve additional information.
Keep the notification payload small and defer large downloads.
Treating Network Availability as a Permanent State
Satellite connectivity can be intermittent.
Monitor network changes and design operations to resume safely.
Binding Every Request to a Satellite Network
Applications generally do not need to manually force all requests through satellite transport.
Android manages network routing.
Use network requests and callbacks to express acceptable network conditions, and use a specific Network only when the application has a genuine requirement to bind traffic to it.
Best Practices for Production Applications
Prioritize Essential Features
Decide which features should continue working when bandwidth is limited.
Messaging, small data synchronization, emergency information, and basic navigation data may be more useful than promotional content or large media downloads.
Keep API Responses Small
Create lightweight API responses for important application screens.
Avoid returning unnecessary fields, large nested objects, and unrelated content.
Use Incremental Synchronization
Synchronize only new or changed records.
Use timestamps, version numbers, cursors, or record identifiers to avoid downloading the same information repeatedly.
Batch Small Operations
Sending hundreds of individual requests creates unnecessary network overhead.
Combine compatible updates into a single request where doing so does not create an excessively large payload.
Use Compression Carefully
Compress text and structured data where it provides a meaningful reduction.
Do not spend processing time repeatedly compressing content that is already compressed.
Queue Nonessential Operations
Postpone analytics uploads, background downloads, and large synchronization jobs until better connectivity is available.
Make Operations Retryable
Use idempotency keys for important operations.
Store pending operations locally and track their completion status.
Provide Clear User Feedback
If a feature cannot work properly on a constrained connection, explain why.
For example, a video application could display:
"Video playback is currently unavailable on this limited connection. You can continue using text and audio features."
A clear message is better than leaving the user with an endless loading indicator.
Advantages and Limitations of Satellite-Optimized Applications
Advantages | Limitations |
|---|
Supports essential application features outside terrestrial coverage | Depends on compatible hardware and satellite service |
Makes better use of limited network capacity | Lower throughput may affect large transfers |
Reduces unnecessary background traffic | Requires additional application development |
Improves reliability through queued operations | Network availability may be intermittent |
Supports lightweight messaging and synchronization | Real-time communication can be difficult |
Allows applications to prioritize critical data | Not every application feature is suitable for satellite connectivity |
Conclusion
Supporting low-bandwidth satellite networks requires more than enabling a network connection. Developers must understand how the application behaves when bandwidth is limited, latency is high, and connectivity is intermittent.
Android provides an opt-in mechanism through PROPERTY_SATELLITE_DATA_OPTIMIZED. ConnectivityManager and NetworkCapabilities help applications identify constrained network conditions and adapt their behavior.
The most important development work happens at the application and backend levels. Reduce API payload sizes, prioritize essential requests, avoid frequent polling, compress suitable data, queue operations, and use FCM's bandwidth_constrained_ok option only for messages that are appropriate for limited connectivity.
For production applications, test with simulated network restrictions and actual supported satellite hardware. Do not assume that a successful request on Wi-Fi proves that the same feature will work over a satellite connection.
A well-designed application should remain useful even when the network is slow. It should send essential information first, postpone unnecessary transfers, and recover safely when connectivity returns.
Join the conversation! Your thoughts help the community grow.