Skip to content

Most visited

Recently visited

navigation

Connectivity for billions

Over half of all users worldwide will experience your app over a 2G connection. To improve their experience, optimize for low-speed connections and offline working by storing data, queuing requests, and handling images for optimal performance.

Here you can find some tips on how to accomplish these things.

Optimize images

There are a number of ways to make images easier to download. These include serving WebP images, dynamically sizing images, and using image-loading libraries.

Serve WebP images

Dynamically size images

Use image loading libraries

Optimize networking

You can enhance the user experience by providing an optimal network experience. For example, you can make your app usable offline, use GcmNetworkManager and content providers, and deduplicate network requests.

Make your app usable offline

Use GcmNetworkManager and content providers

Deduplicate network requests

Fine-tune data transfer

There are several ways in which your app can adapt to network conditions to provide a better user experience. For example, it can prioritize network requests to minimize the user's waiting time for information. It can also detect and adapt to slower network speeds and changes that may take place in the network connection.

Prioritize bandwidth

Use less bandwidth on slower connections

Detect network changes, then change app behavior

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.