Using Contentful with Android

SDKs

Our SDKs give you access to our APIs and their features.

Content Delivery API SDK

This SDK interacts with the Content Delivery API, a read-only API for retrieving content from Contentful. All content, both JSON and binary, is fetched from the server closest to a user's location using our global CDN.
View on GitHub
API reference

Content Management API SDK

This SDK interacts with the Content Management API, and allows you to create, edit, manage, and publish content. The API also offers tools for managing editorial teams and cooperation.
View on GitHub
API reference

Tutorials

API demo

This guide is the perfect starting point to learn how to make calls to Contentful APIs, explains what responses look like, and suggest next steps.

Getting started with the Content Delivery API SDK and Android

This tutorial will walk you through the first steps using the Content Delivery API with a Java application.

Offline persistence with Vault on Android

Vault is an Android library that lets you define Java representations for your Contentful models and simplifies the persistence of data from Contentful via SQLite.
View the tutorial

Type retrieval

This tutorial helps you understand how to filter fetching entries from Contentful based on content and asset types.

Filtering and searching

This tutorial shows how to filter, search and order entries fetched from Contentful.

Tools and integrations

IntelliJ / Android Studio plugin

This plugin generates model classes automatically from your Contentful content model.
View on GitHub

Vault

A library to simplify persisting data retrieved from Contentful in SQLite.
View on GitHub

Example apps

These example apps are the best way to start building with Contentful. They show you how to start a project based on example spaces available in the Contentful web app.

Discovery App

This app lets you browse and preview your Contentful spaces.
Download on Google Play
View on GitHub

Blog

A generic blog app connected to a Contentful example space.
Download on Google Play
View on GitHub

A generic gallery app connected to a Contentful example space.
Download on Google Play
View on GitHub

Product catalogue

A generic product catalogue / e-commerce app connected to a Contentful example space.
Download on Google Play
View on GitHub

Contentful Android Cardboard

A example to show how to use Google Cardboard with Contentful.
View on GitHub