Skip to content

News App Focussed on Good News, Using JSON the Guardian API and data persistence for Udacity's Android Basics Nanodegree.

Notifications You must be signed in to change notification settings

yummywakame/GoodNewsFirst

Repository files navigation

Grow With Google Android Basics Nanodegree: PROJECT 6 & 7

News App Part 1 & Part 2 - Good News First

Used API 27: Android 8.1 (Oreo)

Screenshots

Good News First App Screenshots

Walkthrough

Good News First News App Demo

Watch on YouTube

Project Rubric

Create a news app from the Guardian API that displays multiple news stories. The app queries the content.guardianapis.com API using JSON to fetch news stories related to the topic chosen by the user, using an API key. Each story clicks through to its web url for the full story. The app should gracefully deal with older news articles that may not have a thumbnail or author. There should be a Settings Activity via the toolbar. The user's preferences should narrow the query down and change the results. The preferences should be stored on the device/data persistence. Network operations are done using Loader rather than AsyncTask.

Resources

Hidden API Key:

  1. Sign up for a Guardian API Key: https://open-platform.theguardian.com/access
  2. In your gradle.properties file add: GoodNewsFirst_GuardianApp_ApiKey="your-API-key-goes-here".
  3. Based on instructions here: https://medium.com/code-better/hiding-api-keys-from-your-android-repository-b23f5598b906

Pull to refresh: https://guides.codepath.com/android/implementing-pull-to-refresh-guide

Guardian Logo for attribution: https://commons.wikimedia.org/wiki/File:The_Guardian_2018.svg

Music track: Aljosha Konstanty - Discovery

Many thanks to Charles Rowland for his help figuring out the trickier elements of this project.

About

News App Focussed on Good News, Using JSON the Guardian API and data persistence for Udacity's Android Basics Nanodegree.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages