Coder Social home page Coder Social logo

android-gradle-demo's People

Contributors

flibbertigibbet avatar

Watchers

 avatar  avatar

android-gradle-demo's Issues

Add paid app build flavor

Add free and paid product flavors. Remove the ad and any unnecessary dependencies from the paid flavor.

Depends on #3.

Create Android library

Create an Android Library containing an Activity that will display a joke passed to it as an intent extra. Wire up project dependencies so that the button can now pass the joke from the Java Library to the Android Library.

Depends on #1.

Setup GCE backend

Introduce a project dependency between the Java library and GCE module, and modify the GCE starter code to pull jokes from the Java library. Create an AsyncTask to retrieve jokes using the template included int these instructions. Make the button kick off a task to retrieve a joke, then launch the activity from the Android Library to display it.

Depends on #2.

Create test task

Create a Gradle task that:

  1. Launches the GCE local development server
  2. Runs all tests
  3. Shuts the server down again

Depends on #5.

Create Java library providing jokes

Create a Java library that provides jokes that is a a project dependency between your app and the new Java Library.

Make the button display a toast showing a joke retrieved from the Java joke telling library.

Add interstitial ad

Add an interstitial ad to the free version. Display the ad after the user hits the button, but before the joke is shown.

Depends on #5.

Add loader

Add a loading indicator that is shown while the joke is being retrieved and disappears when the joke is ready.

Depends on #5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.