Skip to content

ingridsgit/joke-teller

Repository files navigation

The app consists of four modules.

  • A Java library that provides jokes,
  • a Google Cloud Endpoints (GCE) project that serves those jokes,
  • an Android Library containing an activity for displaying jokes,
  • and an Android app that fetches jokes from the GCE module and passes them to the Android Library for display.

Why this Project

As Android projects grow in complexity, it becomes necessary to customize the behavior of the Gradle build tool, allowing automation of repetitive tasks. Particularly, factoring functionality into libraries and creating product flavors allow for much bigger projects with minimal added complexity.

Installation

You may need to download the Google Repository from the Extras section of the Android SDK Manager.

In order to run a local instance of the GCE server you will have to install the Cloud SDK:

https://cloud.google.com/sdk/docs/

Once installed, you will need to follow the instructions in the Setup Cloud SDK section at:

https://cloud.google.com/endpoints/docs/frameworks/java/migrating-android

Note: You do not need to follow the rest of steps in the migration guide, only the Setup Cloud SDK.

Start or stop your local server by using the gradle tasks. Select :backend -> Tasks -> app engine standard environment -> appengineStart / appengineStop

Releases

No releases published

Packages

No packages published