Android app that shows popular movies from The Movie Database.
This is the 2nd project of the Android Developer Nanodegree Program.
The app uses the API provided by TMDB to retrieve the movie information and stores the data in a local SQLite database. Users can get additional information on the movie in a details view and mark movies as favorites.
- ContentProvider used as an abstraction layer for the underlying SQLite database
- RecyclerView for displaying movie posters
- IntentService for REST call to the API
- CursorLoaders to retrieve latest data from the ContentProvider
- Broadcasts for service to fragment communication
- Implicit Intents for launching a browser or the Youtube app to watch a movie trailer
First get the code via the git client:
$ git clone https://github.com/raphaki/PopularMovies.git
To build the app you will need to create a free user account at TMDB and get an API key. The key needs to be provided in the gradle.properties
file in the project root directory before importing the project in Android Studio:
TMDB_API_KEY="add api key here"