This is a sample app that shows you how to get started using Contentful with an Android application.
The app creates a client to the Contentful API, requests all entries from a space, and then filters the results based on two criteria. For more details browse the source code of the Main Activity, the dependencies and the permissions needed.
If you want to download the source code of the application, click the little clone button next to this repository, or clone it using the following command:
git clone git@github.com:contentful/boilerplate-android
Once it's downloaded, run it with:
./gradlew installDebug
On Linux/Mac, or:
gradlew.bat installDebug
On Windows.
This will install the app on a running emulator, or connected device. To run the app from the launcher, look for the app called 'Contentful' with this icon:
That's it. Feel free to experiment and leave any issues, bugs, suggestions for spelling mistakes, etc. via the repository issue page.
Be excellent to each other!