GithubHelp home page GithubHelp logo

tahia910 / gradletestproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 48.46 MB

Practice making paid/free flavors (with ads in free version), creating Java and Android libraries

Java 54.00% HTML 46.00%
udacity-android-nanodegree android-app java gradle google-cloud-endpoints gce build-it-bigger

gradletestproject's Introduction

Gradle Test Project: BuildItBigger

Project built for Udacity's Android Nanodegree.

App that uses Java and Android libraries to display jokes retrieved from a Google Cloud Endpoints. It has two flavours: a free and a paid version. The free version displays banner and interstitial ads.

The final app has four modules:

  • app: Android app that fetches jokes from the GCE module and passes them to the Android Library for display.
  • backend: Google Cloud Endpoints module retrieving the jokes from javaJokes
  • javaJokes: Java library providing jokes.
  • jokedisplay: Android library displaying the jokes in a new activity.

It also includes a connected test verifying that the async task is indeed loading jokes.

How to install

Step 1

Clone the repository using git (or download it as a zip), then import the project in Android Studio.

git clone https://github.com/ootahiaoo/GradleTestProject.git

Step 2

Before going ahead you will need to be able to run a local instance of the GCE server. In order to do that 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 as shown in the following screenshot:

Once your local GCE server is started you should see the following at localhost:8080

Step 3

Once your local GCE server is ready, choose a flavor test from the Build Variants panel, then run the app on an emulator.

License

To be added.

gradletestproject's People

Contributors

tahia910 avatar

Watchers

 avatar

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.