Filamu is a swahili word for Movie. This is a exercise repository for the Filamu Android app which is a movie app that consumes the THE MOVIE DB API.The Filamu App uses the retrofit library, A type-safe HTTP client for Android and Java.
This project is built with Gradle, the Android Gradle plugin. Follow the steps below to setup the project localy.
- Clone Filamu App inside your working folder.
- Start Android Studio
- Select "Open Project" and select the generated root Project folder
- You may be prompted with "Unlinked gradle project" -> Select "Import gradle project" and select the option to use the gradle wrapper
- You may also be prompted to change to the appropriate SDK folder for your local machine
- Once the project has compiled -> run the project!
You need to secure your API key without pushing to remote repository.
Here are the steps:
- Create a file named
secrets.properties
in the root folder of the project (i.e below local.properties, app, build, gradle, README.md,etc.) - Paste your API Key in secrets.properties using this format
THE_MOVIE_DB_API_KEY=YOUR-API-KEY
- Sync the project or Rebuild.